Trying to setup a vanilla JS on codesandbox.io
, when I change the name of the index
file, the app no longer can see the HTML at all and throws an error. I must be missing something here, why can I not change the name? In the link here , I have a very basic reproduction of this issue.
The html page can be loaded by navigating to it in the mini browser:
When sharing the sandbox a default url can be configured:
The result: https://codesandbox.io/s/agitated-morning-j9fvl?fontsize=14&initialpath=notIndex.html
Apparently there is no way to change the name entry point. It seems that the "index" name is hardcoded in the service code.
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.