mirror of
https://github.com/chanzuckerberg/cellxgene.git
synced 2026-09-15 12:47:56 +08:00
Surround script hash in single quotes (#1735)
* add disclaimer about changing the script * add hash for obsolete browser script * add explicit domain img-src * add single quotes * add quotes to `data:` * change order and remove single quotes * lint, remove extra slash, and make hash an array * add links to S3 * surround script has in single quotes
This commit is contained in:
committed by
GitHub
parent
518768e8f8
commit
53a268fb71
@@ -98,7 +98,7 @@ class WSGIServer(Server):
|
||||
server_config = app_config.server_config
|
||||
# This hash should be in sync with the script within
|
||||
# `client/configuration/webpack/obsoleteHTMLTemplate.html`
|
||||
obsolete_browser_script_hash = ['SHA25-0028D52E332C015C3ED9929926F4000BB4020B8CB85C1F5769D6AA3BA711F58E']
|
||||
obsolete_browser_script_hash = ["'SHA25-0028D52E332C015C3ED9929926F4000BB4020B8CB85C1F5769D6AA3BA711F58E'"]
|
||||
csp = {
|
||||
"default-src": ["'self'"],
|
||||
"connect-src": ["'self'"],
|
||||
|
||||
Reference in New Issue
Block a user