mirror of
https://github.com/ajurna/cbwebreader.git
synced 2026-11-02 10:36:55 +00:00
adding csp
This commit is contained in:
1 parent
d21ec61f06
commit
10ffd01a2e
7 files changed
+19
-10
No files matched your search
@@ -152,4 +152,5 @@ CSP_IMG_SRC = ("'self'", "data:")
|
||||
CSP_FONT_SRC = ("'self'")
|
||||
CSP_SCRIPT_SRC = ("'self'", 'code.jquery.com', 'cdn.jsdelivr.net', 'cdn.datatables.net')
|
||||
CSP_CONNECT_SRC = ("'self'")
|
||||
CSP_INCLUDE_NONCE_IN = ['script-src']
|
||||
CSP_INCLUDE_NONCE_IN = ['script-src']
|
||||
CSP_SCRIPT_SRC_ATTR = ("'self'", "'unsafe-inline'")
|
||||
Reference in new issue
Block a user