mirror of
https://github.com/nlepage/go-wasm-http-server.git
synced 2025-03-10 17:29:10 +00:00
⚗️
This commit is contained in:
parent
2377662303
commit
96677e2518
2
index.js
2
index.js
@ -24,7 +24,7 @@ const trimEnd = (s, c) => {
|
|||||||
}
|
}
|
||||||
|
|
||||||
self.wasmhttp = {
|
self.wasmhttp = {
|
||||||
serve: async ({ wasm, base } = {}) => {
|
serve: ({ wasm, base } = {}) => {
|
||||||
try {
|
try {
|
||||||
if (!wasm) throw TypeError('options.wasm must be defined')
|
if (!wasm) throw TypeError('options.wasm must be defined')
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user