Revert "web/satellite: allow execute permissions on wasm_exec"
This reverts commit 9022506292
.
Reason for revert: Execute permissions are not required for this file. The error "Uncaught DOMException: Failed to execute 'importScripts' on 'WorkerGlobalScope':" was instead caused by a browser cached version of import returning an incorrect response.
Change-Id: Ib5f6bf30dc5a9919bb7d71fb2b04075486c74f89
This commit is contained in:
parent
7a2be3e6f6
commit
94dcfd77ee
@ -4,7 +4,4 @@
|
||||
cp "$(go env GOROOT)/misc/wasm/wasm_exec.js" ./static/wasm
|
||||
|
||||
# Build wasm code
|
||||
GOOS=js GOARCH=wasm go build -o ./static/wasm/access.wasm storj.io/storj/satellite/console/wasm
|
||||
|
||||
# Allow execution of wasm_exec.js
|
||||
chmod +x ./static/wasm/wasm_exec.js
|
||||
GOOS=js GOARCH=wasm go build -o ./static/wasm/access.wasm storj.io/storj/satellite/console/wasm
|
@ -11,6 +11,3 @@ GOOS=js GOARCH=wasm go build -o ./static/wasm/access.wasm storj.io/storj/satelli
|
||||
|
||||
# Compress wasm code using brotli
|
||||
brotli -k -f ./static/wasm/access.wasm
|
||||
|
||||
# Allow execution of wasm_exec.js
|
||||
chmod +x ./static/wasm/wasm_exec.js
|
Loading…
Reference in New Issue
Block a user