openvscode-server icon indicating copy to clipboard operation
openvscode-server copied to clipboard

Serving static files from a CDN

Open tomenden opened this issue 1 year ago • 0 comments

Discussed in https://github.com/gitpod-io/openvscode-server/discussions/516

Originally posted by dor-itzhaki June 12, 2023 I'm looking for a simple way to instruct openvscode-server to load static files (js, css, etc...) from an external CDN.

As a hack, i can manipulate the code in workbench.html to fetch from the CDN url + modify the CSP directives in webClientServer.ts, then build from sources.

But, is there a more elegant way to do it, preferably using the release version and some config ?

tomenden avatar Dec 25 '23 15:12 tomenden