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:
dlamarmorgan 2022-11-22 15:54:59 -08:00 committed by Storj Robot
parent 7a2be3e6f6
commit 94dcfd77ee
2 changed files with 1 additions and 7 deletions

View File

@ -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

View File

@ -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