Fix Deno script Content-Type

This commit is contained in:
Wilson Lin 2022-06-22 01:41:53 +10:00
parent 5f6cb83736
commit b9bc93ef71
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/json'
content_type='application/js'
elif [[ "$f" == *.wasm ]]; then
content_type='application/wasm'
else