mirror of
https://github.com/benbusby/whoogle-search.git
synced 2025-07-09 03:04:13 -04:00
Handle manifest-src in CSP (#231)
This commit is contained in:
parent
2114cb87c0
commit
337d0ebe37
@ -41,6 +41,7 @@ app.config['BANG_FILE'] = os.path.join(
|
|||||||
app.config['BANG_PATH'],
|
app.config['BANG_PATH'],
|
||||||
'bangs.json')
|
'bangs.json')
|
||||||
app.config['CSP'] = 'default-src \'none\';' \
|
app.config['CSP'] = 'default-src \'none\';' \
|
||||||
|
'manifest-src \'self\';' \
|
||||||
'img-src \'self\';' \
|
'img-src \'self\';' \
|
||||||
'style-src \'self\' \'unsafe-inline\';' \
|
'style-src \'self\' \'unsafe-inline\';' \
|
||||||
'script-src \'self\';' \
|
'script-src \'self\';' \
|
||||||
|
Loading…
x
Reference in New Issue
Block a user