Use the full (relative) view path for CSP exclusion (#3916)

GitOrigin-RevId: f6828a447abcc550f0c7dfd0fc6fc72f4b5b1f7e
This commit is contained in:
Alf Eaton
2021-04-17 02:09:56 +00:00
committed by Copybot
parent f7cf7626ec
commit dcd6bd347f
2 changed files with 15 additions and 3 deletions
+4 -1
View File
@@ -735,5 +735,8 @@ module.exports = settings =
enabled: process.env.CSP_ENABLED == 'true'
reportOnly: process.env.CSP_REPORT_ONLY == 'true'
reportUri: process.env.CSP_REPORT_URI
exclude: ['project/editor', 'project/list']
exclude: [
'app/views/project/editor',
'app/views/project/list',
]
}