mirror of
https://github.com/sasjs/server.git
synced 2026-01-09 07:20:05 +00:00
chore: lint fix
This commit is contained in:
@@ -5,7 +5,7 @@ export const getEnvCSPDirectives = (
|
|||||||
HELMET_CSP_CONFIG_PATH: string | undefined
|
HELMET_CSP_CONFIG_PATH: string | undefined
|
||||||
) => {
|
) => {
|
||||||
let cspConfigJson = {
|
let cspConfigJson = {
|
||||||
'img-src': ["'self'", "data:"],
|
'img-src': ["'self'", 'data:'],
|
||||||
'script-src': ["'self'", "'unsafe-inline'"],
|
'script-src': ["'self'", "'unsafe-inline'"],
|
||||||
'script-src-attr': ["'self'", "'unsafe-inline'"]
|
'script-src-attr': ["'self'", "'unsafe-inline'"]
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user