You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
in a simple folder with an index.html that points to index.js, the following work as expected.
http://localhost:8080/
http://localhost:8080/foo
However, this one breaks.
http://localhost:8080/foo/bar
The error:
GET http://localhost:8080/foo/index.js 404 (Not Found)
Here's the console output since running, through all steps above, until the last one.
----------------------------------------------
[OK] Serving static files from ./.
[OK] Using the fallback file index.html
[OK] Listening on http://localhost:8080
----------------------------------------------
[OK] GET /foo/bar
[ER] GET /foo/index.js
[OK] GET /
[OK] GET /index.js
[OK] GET /foo
[OK] GET /index.js
[OK] GET /foo/bar
[ER] GET /foo/index.js
The text was updated successfully, but these errors were encountered:
Not sure if I'm doing something wrong, but...
Running the server with this
$ yarn http-server-spa . index.html
in a simple folder with an
index.html
that points toindex.js
, the following work as expected.However, this one breaks.
The error:
Here's the console output since running, through all steps above, until the last one.
The text was updated successfully, but these errors were encountered: