mirror of
https://github.com/kevinveenbirkenbach/computer-playbook.git
synced 2025-06-25 03:38:59 +02:00
Solved CSP bugs
This commit is contained in:
parent
25ba93cbfd
commit
8b5c61953e
@ -102,15 +102,15 @@ hooks:
|
|||||||
- exec:
|
- exec:
|
||||||
cd: $home/plugins
|
cd: $home/plugins
|
||||||
cmd:
|
cmd:
|
||||||
- git clone https://github.com/discourse/docker_manager.git
|
- git clone --depth=1 https://github.com/discourse/docker_manager.git
|
||||||
- git clone https://github.com/discourse/discourse-activity-pub.git
|
- git clone --depth=1 https://github.com/discourse/discourse-activity-pub.git
|
||||||
- git clone https://github.com/discourse/discourse-calendar.git
|
- git clone --depth=1 https://github.com/discourse/discourse-calendar.git
|
||||||
- git clone https://github.com/discourse/discourse-akismet.git
|
- git clone --depth=1 https://github.com/discourse/discourse-akismet.git
|
||||||
- git clone https://github.com/discourse/discourse-cakeday.git
|
- git clone --depth=1 https://github.com/discourse/discourse-cakeday.git
|
||||||
- git clone https://github.com/discourse/discourse-solved.git
|
- git clone --depth=1 https://github.com/discourse/discourse-solved.git
|
||||||
- git clone https://github.com/discourse/discourse-voting.git
|
- git clone --depth=1 https://github.com/discourse/discourse-voting.git
|
||||||
- git clone https://github.com/discourse/discourse-oauth2-basic.git
|
- git clone --depth=1 https://github.com/discourse/discourse-oauth2-basic.git
|
||||||
- git clone https://github.com/discourse/discourse-openid-connect.git
|
- git clone --depth=1 https://github.com/discourse/discourse-openid-connect.git
|
||||||
|
|
||||||
## Any custom commands to run after building
|
## Any custom commands to run after building
|
||||||
run:
|
run:
|
||||||
|
@ -20,6 +20,8 @@ features:
|
|||||||
central_database: true
|
central_database: true
|
||||||
csp:
|
csp:
|
||||||
flags:
|
flags:
|
||||||
|
script-src:
|
||||||
|
unsafe-eval: true
|
||||||
script-src-elem:
|
script-src-elem:
|
||||||
unsafe-inline: true
|
unsafe-inline: true
|
||||||
unsafe-eval: true
|
unsafe-eval: true
|
||||||
@ -27,8 +29,7 @@ csp:
|
|||||||
unsafe-inline: true
|
unsafe-inline: true
|
||||||
whitelist:
|
whitelist:
|
||||||
connect-src:
|
connect-src:
|
||||||
- "{{ primary_domain }}"
|
- "*"
|
||||||
- "matrix.{{ primary_domain }}"
|
|
||||||
script-src-elem:
|
script-src-elem:
|
||||||
- "element.{{ primary_domain }}"
|
- "element.{{ primary_domain }}"
|
||||||
- "https://cdn.jsdelivr.net"
|
- "https://cdn.jsdelivr.net"
|
||||||
|
@ -20,6 +20,8 @@ csp:
|
|||||||
unsafe-eval: true
|
unsafe-eval: true
|
||||||
style-src:
|
style-src:
|
||||||
unsafe-inline: true
|
unsafe-inline: true
|
||||||
|
script-src:
|
||||||
|
unsafe-eval: true
|
||||||
domains:
|
domains:
|
||||||
canonical:
|
canonical:
|
||||||
- "kanban.{{ primary_domain }}"
|
- "kanban.{{ primary_domain }}"
|
@ -16,6 +16,7 @@ features:
|
|||||||
portfolio_iframe: false
|
portfolio_iframe: false
|
||||||
oidc: true
|
oidc: true
|
||||||
central_database: true
|
central_database: true
|
||||||
|
version: latest
|
||||||
csp:
|
csp:
|
||||||
flags:
|
flags:
|
||||||
style-src:
|
style-src:
|
||||||
@ -31,7 +32,8 @@ csp:
|
|||||||
- "data:"
|
- "data:"
|
||||||
- "https://fonts.bunny.net"
|
- "https://fonts.bunny.net"
|
||||||
script-src-elem:
|
script-src-elem:
|
||||||
- "https://cdn.gtranslate.net"
|
- "https://cdn.gtranslate.net" # Necessary for translation plugins
|
||||||
|
- "https://translate.google.com" # Necessary for translation plugins
|
||||||
- "blog.{{ primary_domain }}"
|
- "blog.{{ primary_domain }}"
|
||||||
style-src:
|
style-src:
|
||||||
- "https://fonts.bunny.net"
|
- "https://fonts.bunny.net"
|
||||||
|
Loading…
x
Reference in New Issue
Block a user