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.
Asked
Active
Viewed 522 times
0

Michael
- 4,538
- 5
- 31
- 58
2 Answers
2
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

MaartenDev
- 5,631
- 5
- 21
- 33
-
This works and yet is not ideal (obviously not your doing) – Michael Sep 01 '19 at 13:41
-
1Yea it is really hard to find, but it works :) @Michael – MaartenDev Sep 01 '19 at 13:43
0
Apparently there is no way to change the name entry point. It seems that the "index" name is hardcoded in the service code.

Grudin Maksim
- 86
- 2