Skip to content

Send 404s for assets and api calls that don't exist.#2

Open
amadsen wants to merge 1 commit intouniqname:starterfrom
amadsen:starter-express-routers
Open

Send 404s for assets and api calls that don't exist.#2
amadsen wants to merge 1 commit intouniqname:starterfrom
amadsen:starter-express-routers

Conversation

@amadsen
Copy link

@amadsen amadsen commented Feb 15, 2016

This ensures that calls for static assets under the /css or /scripts paths and API calls under the /api path will send a 404 Not Found if the asset or API does not exist. All other paths continue to resolve to index.html.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant