Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
docs: Content-Security-Policy and loading HTML apps with Artifacts (#158
) I put LibreChat on a VPS and was trying out the Artifacts feature but noticed the apps wouldn't load. The right panel would show: ``` "This content is blocked. Contact the site owner to fix the issue." ``` and then ``` Couldn't connect to server This means sandpack cannot connect to the runtime or your network is having some issues. Please check the network tab in your browser and try again. If the problem persists, report it via email or submit an issue on GitHub. ENV: create-react-app ERROR: TIME_OUT ``` I updated my web server's Content-Security-Policy to include `frame-src 'self' https://*.codesandbox.io` and that fixed the issue. I figured I would document that here for others.
- Loading branch information