sandpack
sandpack copied to clipboard
Error when fetching dependencies from private registry
Bug report
Packages affected
- [1.19.0 ] sandpack-client
- [1.19.0 ] sandpack-react
Description of the problem
Mixed Content: The page at 'https://1-19-0-sandpack.codesandbox.io/' was loaded over HTTPS, but requested an insecure resource 'http://0.0.0.0:4873/xxxxxxx'. This request has been blocked; the content must be served over HTTPS.
What were you doing when the problem occurred?
We use the Verdaccio to build a private registry which is http://localhost:4873 (http://0.0.0.0:4873), when the sandbox trying to fetch the dependencies from this registry, there is this error.
What steps can we take to reproduce the problem?
- Use Verdaccio to build a private registry.
- Publish an NPM package to this registry.
- Fetch dependency from this registry with Sandpack.
Your Environment
| Software | Name/Version |
|---|---|
| Sandpack-client version | 1.19.0 |
| Sandpack-react version | 1.19.0 |
| Browser | Chrome |
| Operating System | MacOS |