mirror of
https://github.com/nlepage/go-wasm-http-server.git
synced 2026-01-12 01:59:14 +00:00
⚗️ Try using symlinks
This commit is contained in:
@@ -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')
|
||||
|
||||
Reference in New Issue
Block a user