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 production server, currently we have URLs being rewritten to end with index.html e.g. /docs/index.html. Since we're using pretty URLs by default in development and production, our mock prodution server should also use pretty URLs.
Details
Modify server. js not to redirect links ending with / to index.html and instead read both .html and / ending links then return the body with the request files.
The text was updated successfully, but these errors were encountered:
Type of Change
Summary
In production server, currently we have URLs being rewritten to end with index.html e.g.
/docs/index.html
. Since we're using pretty URLs by default in development and production, our mock prodution server should also use pretty URLs.Details
Modify server. js not to redirect links ending with
/
toindex.html
and instead read both .html and / ending links then return the body with the request files.The text was updated successfully, but these errors were encountered: