mirror of
https://github.com/nlepage/go-wasm-http-server.git
synced 2025-03-11 09:39:10 +00:00
⚗️ Try using symlinks
This commit is contained in:
parent
2a84a402ce
commit
c94f812a7f
@ -2,7 +2,7 @@
|
||||
<html>
|
||||
<head>
|
||||
<title>go-wasm-http-server demo</title>
|
||||
<script src="https://raw.githubusercontent.com/nlepage/go-wasm-http-server/master/index.js"></script>
|
||||
<script src="lib/index.js"></script>
|
||||
<script>
|
||||
async function hello() {
|
||||
const name = document.querySelector("#name").value
|
||||
|
1
docs/lib/index.js
Symbolic link
1
docs/lib/index.js
Symbolic link
@ -0,0 +1 @@
|
||||
../../index.js
|
1
docs/lib/sw.js
Symbolic link
1
docs/lib/sw.js
Symbolic link
@ -0,0 +1 @@
|
||||
../../sw.js
|
@ -1 +1 @@
|
||||
importScripts('https://raw.githubusercontent.com/nlepage/go-wasm-http-server/master/sw.js')
|
||||
importScripts('lib/sw.js')
|
||||
|
Loading…
x
Reference in New Issue
Block a user