Make Codesandbox URL configurable
Codesandbox can be self hosted quite easily by hosting the static sandpack script on a custom domain. It interacts directly with the https://unpkg.com/ CDN, removing the previous requirement of also operating a packager.
GitLab currently defaults to the Codesandbox.io domain – we should make it possible to use a custom domain.
Proposal
- Add a textbox to provide a custom Codesandbox URL
- Add documentation for what is needed to configure your own Codesandbox instance
Links / references
https://docs.gitlab.com/ee/user/project/web_ide/index.html#enabling-client-side-evaluation