Skip to content

Commit b7b6ab5

Browse files
committed
Allow Slise ads in deployment CSP
1 parent ce7d2e4 commit b7b6ab5

1 file changed

Lines changed: 6 additions & 0 deletions

File tree

.github/workflows/deploy.yaml

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -30,6 +30,12 @@ jobs:
3030
git submodule update --remote --checkout explorer
3131
git -C explorer log -1 --oneline
3232
33+
- name: Allow Slise ads in CSP
34+
run: |
35+
perl -0pi -e "s#(script-src[^;]*https://\*\.ping\.pub)#\$1 https://v1.slise.xyz#" explorer/index.html
36+
perl -0pi -e "s#(frame-src[^;]*https://wallet\.keplr\.app)#\$1 https://v1.slise.xyz#" explorer/index.html
37+
grep -n "Content-Security-Policy" -A1 explorer/index.html
38+
3339
- name: Setup Pages
3440
uses: actions/configure-pages@v5
3541

0 commit comments

Comments
 (0)