This commit is contained in:
Nicolas Lepage
2021-01-22 15:39:26 +01:00
parent d9eacdc8e1
commit 07057523bf
2 changed files with 13 additions and 2 deletions

View File

@@ -1,7 +1,7 @@
<!DOCTYPE html>
<html>
<head>
<title>go-wasm-http-server demo</title>
<title>go-wasm-http-server hello demo</title>
<script>
navigator.serviceWorker.register('sw.js')
@@ -22,4 +22,4 @@
<label for="name">Name: </label><input id="name" value="World">
<button onclick="hello()">Hello</button>
</body>
</html>
</html>

11
docs/index.html Normal file
View File

@@ -0,0 +1,11 @@
<!DOCTYPE html>
<html>
<head>
<title>go-wasm-http-server demo</title>
</head>
<body>
<ul>
<li><a href="hello">Hello demo</a></li>
</ul>
</body>
</html>