Handle manifest-src in CSP (#231)
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…
Reference in New Issue