Skip to content

Commit

Permalink
BC-5862 Added configurable bettermarks urls (#3354)
Browse files Browse the repository at this point in the history
  • Loading branch information
dimapin authored and NFriedo committed Nov 29, 2023
1 parent 4148ced commit cd932b6
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ data:
// scriptSrc: "'strict-dynamic' 'unsafe-eval' 'nonce-<nonceValue>'",
scriptSrc: `'self' 'unsafe-eval'`,
frameSrc: `'self' https://{{ LIBREOFFICE_PREFIX }}{{ DOMAIN }} https://docs.dbildungscloud.de https://{{ ROCKETCHAT_DNS_PREFIX }}{{ DOMAIN }}`,
frameAncestors: `'self' {{ BETTERMARKS_CSP_URL | default("") }}`,
frameAncestors: `'self' {{ BETTERMARKS_APPS_URL | default("") }}`,
// Please activate for production
// upgradeInsecureRequestsSrc: 'upgrade-insecure-requests',
// blockAllMixedContentSrc: 'block-all-mixed-content',
Expand All @@ -62,7 +62,7 @@ data:
defaultSrc: 'https://www10-fms.hpi.uni-potsdam.de https://cloud-instances.s3.hidrive.strato.com',
},
'^/courses': {
defaultSrc: 'https://nexboard.nexenio.com https://lti.tools https://codeocean.openhpi.de https://acc.bettermarks.com https://moodle.hpi-schul-cloud.de',
defaultSrc: 'https://nexboard.nexenio.com https://lti.tools https://codeocean.openhpi.de {{ BETTERMARKS_SCHOOL_URL | default("") }} https://moodle.hpi-schul-cloud.de',
fontSrc: 'https://vjs.zencdn.net https://fonts.googleapis.com https://cdn.jsdelivr.net',
styleSrc: 'https://vjs.zencdn.net',
frameSrc: 'https://nexboard.nexenio.com',
Expand Down

0 comments on commit cd932b6

Please sign in to comment.