Skip to content

Commit

Permalink
Merge remote-tracking branch 'origin/apis-biographien' into apis-biog…
Browse files Browse the repository at this point in the history
…raphien
  • Loading branch information
sennierer committed Dec 4, 2024
2 parents d02d3a2 + bd260de commit 4e82179
Showing 1 changed file with 32 additions and 0 deletions.
32 changes: 32 additions & 0 deletions apis/settings/biographien.py
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,38 @@
"*",
]

INSTALLED_APPS += [
'csp',
# other apps
]


CSP_DEFAULT_SRC = (
"'self'",
"'unsafe-inline'",
"data: 'unsafe-eval'",
"cdnjs.cloudflare.com",
"cdn.jsdelivr.net",
"fonts.googleapis.com",
"ajax.googleapis.com",
"cdn.rawgit.com",
"*.acdh.oeaw.ac.at",
"unpkg.com",
"fonts.gstatic.com",
"cdn.datatables.net",
"code.highcharts.com",
"*.acdh-dev.oeaw.ac.at",
"*.acdh.oeaw.ac.at",
"openstreetmap.org",
"*.openstreetmap.org",
"*.placeholder.com",
)

CSP_SCRIPT_SRC = CSP_DEFAULT_SRC + (
"unpkg.com",
)


DEV_VERSION = os.environ.get("APIS_DEV_VERSION", True)

BIRTH_REL_ID = 595
Expand Down

0 comments on commit 4e82179

Please sign in to comment.