Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Jump to the related 404 page file for the local server when running #4719

Merged
merged 8 commits into from
Jul 26, 2022
Merged

Jump to the related 404 page file for the local server when running #4719

merged 8 commits into from
Jul 26, 2022

Conversation

SEWeiTung
Copy link
Contributor

@SEWeiTung SEWeiTung commented Jul 14, 2022

Now for the local server.js when it's running and you've inputted an invalid route, it will ONLY return you "Not Found" as a plain text instead of a whole HTML page, we should make it act as what we see from the official site.

Here's the fix in demo:
Demo

SEWeiTung added 3 commits July 9, 2022 10:18
Now in our current server.js, when the route is invalid, only "Not
Found" is returned. Actually to mock what we see from the official site,
it seems we should return you a 404 page instead.
@SEWeiTung SEWeiTung requested a review from nschonni July 14, 2022 09:05
@SEWeiTung SEWeiTung requested review from a team and removed request for nschonni July 26, 2022 02:22
@SEWeiTung SEWeiTung merged commit 6fc849b into nodejs:main Jul 26, 2022
@SEWeiTung SEWeiTung deleted the new404 branch July 26, 2022 09:45
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.

2 participants