Skip to content
Snippets Groups Projects
Commit b3a75524 authored by Xiao Gui's avatar Xiao Gui
Browse files

chore: update csp

parent 1216d64a
No related branches found
No related tags found
No related merge requests found
......@@ -120,7 +120,7 @@ module.exports = (app) => {
'unpkg.com/react@16/umd/', // plugin load external lib -> react
'unpkg.com/kg-dataset-previewer@1.2.0/', // preview component
'cdnjs.cloudflare.com/ajax/libs/mathjax/', // math jax
'https://unpkg.com/three-surfer@0.0.2/dist/bundle.js', // for threeSurfer (freesurfer support in browser)
'https://unpkg.com/three-surfer@0.0.4/dist/bundle.js', // for threeSurfer (freesurfer support in browser)
(req, res) => res.locals.nonce ? `'nonce-${res.locals.nonce}'` : null,
...SCRIPT_SRC,
...WHITE_LIST_SRC,
......
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment