diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index 9a23c08..1ad3f1a 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -50,7 +50,9 @@ jobs: path: ${{ env.OUTPUT_PATH }} - name: Fix Base URL - run: sed -i "s/base href=\"\/\"/base href=\"\/vanillajs\/\"/g" ${{ env.OUTPUT_PATH }}index.html - + run: | + sed -i "s/base href=\"\/\"/base href=\"\/vanillajs\/\"/g" ${{ env.OUTPUT_PATH }}index.html + sed -i "s/scope: \'\/\'/scope: \'\/vanillajs/\'/g" ${{ env.OUTPUT_PATH }}index.html + - name: Deploy to Azure Storage run: az storage blob upload-batch --source ${{ env.OUTPUT_PATH }} --destination \$web/vanillajs --account-name ${STORAGE_NAME} diff --git a/index.html b/index.html index b77e885..b6fb12e 100644 --- a/index.html +++ b/index.html @@ -9,29 +9,29 @@ - - - - - - - - - - - - - - - + content="default-src 'self'; script-src 'self' 'unsafe-eval' 'unsafe-inline'; child-src 'self'; connect-src 'self'; font-src 'self'; frame-src 'self'; img-src 'self'; media-src 'self'; object-src 'none'; style-src 'self';"> + + + + + + + + + + + + + + + - - - - - + + + + + @@ -53,7 +53,7 @@