Skip to content

Add gitlab-cdn.net to Web IDE CSP

Paul Slaughter requested to merge ps-add-gitlab-cdn-net-to-web-ide-csp into master

What does this MR do and why?

This MR adds gitlab-cdn.net to the Web IDE CSP. This is to support removing our runtime dependency on vscode-cdn.net.

See also:

Screenshots or screen recordings

Screenshot_2023-06-06_at_3.29.05_PM

How to set up and validate locally

  1. Run yarn install
  2. (TEMPORARY until gitlab-cdn.net is available) Follow these instructions in the gtilab-web-ide project.
  3. Start GDK and visit the Web IDE for any project - verify that vscode-cdn.net is not hit and features like Preview Markdown work.

MR acceptance checklist

This checklist encourages us to confirm any changes have been analyzed to reduce risks in quality, performance, reliability, security, and maintainability.

Edited by Paul Slaughter

Merge request reports