Skip to content
This repository has been archived by the owner on May 22, 2021. It is now read-only.

404 page #506

Merged
merged 3 commits into from
Aug 11, 2017
Merged

404 page #506

merged 3 commits into from
Aug 11, 2017

Conversation

varghesethomase
Copy link
Contributor

Fixing #446 by replacing all res.sendStatus(404); with res.status(404).render('notfound');

@abhinadduri
Copy link
Collaborator

@varghesethomase We should only render the notfound page for HTML endpoints; some of the 404s are API endpoints and will not be expecting a notfound HTML page.

@varghesethomase
Copy link
Contributor Author

@abhinadduri Could you help me with identifying the APIs so that i can revert the necessary code?

@varghesethomase
Copy link
Contributor Author

I guess the only non XHR request out there is for the /download url. I am reverting all the other code. And have updated the PR.

@dannycoates
Copy link
Contributor

Thank you @varghesethomase 😄

# for free to subscribe to this conversation on GitHub. Already have an account? #.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants