Fix Deno script Content-Type

This commit is contained in:
Wilson Lin 2022-06-22 01:44:22 +10:00
parent b9bc93ef71
commit a246e72b4e
1 changed files with 1 additions and 1 deletions

View File

@ -49,7 +49,7 @@ jobs:
./b2 authorize-account ${{ secrets.CICD_CLI_B2_KEY_ID }} ${{ secrets.CICD_CLI_B2_APPLICATION_KEY }}
for f in wasm/pkg/*; do
if [[ "$f" == *.js ]]; then
content_type='application/js'
content_type='text/javascript'
elif [[ "$f" == *.wasm ]]; then
content_type='application/wasm'
else