From 2609d8cf259f393bc04eeef1418ee0cff33c8e14 Mon Sep 17 00:00:00 2001 From: Jeremy Likness Date: Wed, 29 Jan 2020 13:54:59 -0800 Subject: [PATCH] updates for relative url --- .github/workflows/main.yml | 6 +++-- index.html | 44 ++++++++++++++++----------------- manifest.json | 12 ++++----- slides/001-title.html | 2 +- slides/020-angular-project.html | 2 +- slides/030-impact1.html | 2 +- slides/040-impact2.html | 2 +- slides/050-cost.html | 2 +- slides/060-ng-conf1.html | 2 +- slides/070-ng-conf2.html | 2 +- slides/090-embrace.html | 2 +- 11 files changed, 40 insertions(+), 38 deletions(-) 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 @@