mirror of
https://github.com/nlepage/go-wasm-http-server.git
synced 2026-01-12 01:59:14 +00:00
⚗️
This commit is contained in:
@@ -1,3 +1,8 @@
|
||||
addEventListener('activate', event => {
|
||||
console.log('activate!')
|
||||
event.waitUntil(clients.claim())
|
||||
})
|
||||
|
||||
importScripts(
|
||||
'https://cdn.jsdelivr.net/gh/nlepage/go-wasm-http-server@latest/lib/wasm_exec/wasm_exec.js',
|
||||
'https://cdn.jsdelivr.net/gh/nlepage/go-wasm-http-server@latest/index.js',
|
||||
|
||||
Reference in New Issue
Block a user