-
I have two questions about how Sandpack and shareable links works:
|
Beta Was this translation helpful? Give feedback.
Answered by
CompuIves
Sep 28, 2020
Replies: 2 comments 3 replies
-
@CompuIves This is right down your alley :) |
Beta Was this translation helpful? Give feedback.
0 replies
-
Hey @NinoMaj! Good questions. To answer:
I hope this answers your questions, let me know if you have any other questions! |
Beta Was this translation helpful? Give feedback.
3 replies
Answer selected by
CompuIves
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Hey @NinoMaj!
Good questions. To answer:
getCodeSandboxURL
will generate the sandbox as soon as you call it, not before that. The ID won't be guessable.getCodeSandboxURL
under a pro account and make it private, but the preview will only accessible by people who also have access to the code. The reason for this is the fact that we execute the code in the browser, so for the preview to actually show something it needs to download the code for execution. This means that savvy users will always be able to access the minified code.I hope this answers your questions, let me know if you have any other …