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
{{ message }}
This repository has been archived by the owner on Jan 25, 2020. It is now read-only.
With the new routing rules, the file name is used as part of the path. Unfortunately, the convention of using an index.js file in a directory somewhat breaks that behavior, or at least makes it unexpected. This issue proposed to special-case index.js to default to '/' instead of '/index', such that it can be used as the root for that particular path, matching the behavior in Node.js.
The text was updated successfully, but these errors were encountered:
With the new routing rules, the file name is used as part of the path. Unfortunately, the convention of using an
index.js
file in a directory somewhat breaks that behavior, or at least makes it unexpected. This issue proposed to special-caseindex.js
to default to '/' instead of '/index', such that it can be used as the root for that particular path, matching the behavior in Node.js.The text was updated successfully, but these errors were encountered: