Skip to content

Public url for server sandbox #4968

Closed Answered by lbogdan
maksimr asked this question in Q&A
Oct 2, 2020 · 1 comments · 4 replies
Discussion options

You must be logged in to vote

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 set devServer.disableHostCheck: true and not worry about the URL at all.

Replies: 1 comment 4 replies

Comment options

You must be logged in to vote
4 replies
@maksimr
Comment options

@lbogdan
Comment options

@djejaquino
Comment options

@filipelima18
Comment options

Answer selected by maksimr
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
4 participants