-
I can't find how to get a public server sandbox URL. In my case, I want to pass it to a webpack-dev-server for the proper work of WebSocket(Live reload). Currently, I use For example, Gitpod has a CLI API for such things |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 4 replies
-
Hey @maksimr , You can get the sandbox URL from the environment variable Also, with |
Beta Was this translation helpful? Give feedback.
Hey @maksimr ,
You can get the sandbox URL from the environment variable
SANDBOX_URL
, you can see an example of that here: https://codesandbox.io/s/hardcore-goodall-l0gge?file=/src/index.js .Also, with
webpack-dev-server
you can just setdevServer.disableHostCheck: true
and not worry about the URL at all.