⚗️ Try using @latest with jsdelivr

This commit is contained in:
Nicolas Lepage 2021-01-21 22:01:57 +01:00
parent a9981520e5
commit 14f28aec93
No known key found for this signature in database
GPG Key ID: B0879E35E66D8F6F
2 changed files with 2 additions and 2 deletions

View File

@ -2,7 +2,7 @@
<html>
<head>
<title>go-wasm-http-server demo</title>
<script src="https://cdn.jsdelivr.net/gh/nlepage/go-wasm-http-server@254bd5e2ea5b84b4ed2918f8edc7981fb24b06ad/index.js"></script>
<script src="https://cdn.jsdelivr.net/gh/nlepage/go-wasm-http-server@latest/index.js"></script>
<script>
async function hello() {
res = await fetch('api/hello', {

View File

@ -1 +1 @@
importScripts('https://cdn.jsdelivr.net/gh/nlepage/go-wasm-http-server@254bd5e2ea5b84b4ed2918f8edc7981fb24b06ad/sw.js')
importScripts('https://cdn.jsdelivr.net/gh/nlepage/go-wasm-http-server@latest/sw.js')