diff options
author | GitLab Bot <gitlab-bot@gitlab.com> | 2023-08-10 20:54:21 +0300 |
---|---|---|
committer | GitLab Bot <gitlab-bot@gitlab.com> | 2023-08-10 20:54:21 +0300 |
commit | feb60f73068de1ffd89ff7baade92586b4690e9d (patch) | |
tree | 708364a0941270613604981f3906c2038f92e12b /app/controllers/concerns | |
parent | 3abfe4afb90054d7b8af276775e528551a4a5a32 (diff) |
Add latest changes from gitlab-org/gitlab@16-2-stable-ee
Diffstat (limited to 'app/controllers/concerns')
-rw-r--r-- | app/controllers/concerns/web_ide_csp.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/app/controllers/concerns/web_ide_csp.rb b/app/controllers/concerns/web_ide_csp.rb index 0327020a0c2..90d6ff38e90 100644 --- a/app/controllers/concerns/web_ide_csp.rb +++ b/app/controllers/concerns/web_ide_csp.rb @@ -21,7 +21,7 @@ module WebIdeCSP default_src = Array(request.content_security_policy.directives['default-src'] || []) request.content_security_policy.directives['frame-src'] ||= default_src - request.content_security_policy.directives['frame-src'].concat([webpack_url, 'https://*.vscode-cdn.net/']) + request.content_security_policy.directives['frame-src'].concat([webpack_url, 'https://*.web-ide.gitlab-static.net/']) request.content_security_policy.directives['worker-src'] ||= default_src request.content_security_policy.directives['worker-src'].concat([webpack_url]) |