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 was archived by the owner on Nov 22, 2024. It is now read-only.
Do you want to request a feature or report a bug?
Feature
What is the current behavior?
When the user ends up on a non-existing page, the browser returns a 200 http status code.
What is the expected behavior?
I'd would like to be able to return a 404 or 500 status code.
What is the motivation / use case for changing the behavior?
For SEO it is important to return correct status codes.
Please tell us about your environment:
- Angular version: 4
- Browser: all
- Language: Typscript
- OS: Mac OS X
- Platform: NodeJS
Other information
I followed this solution from a previous reported issue. However, my server.ts differs from theirs, as mine is the same as the official repository' one.
The text was updated successfully, but these errors were encountered:
Do you want to request a feature or report a bug?
Feature
What is the current behavior?
When the user ends up on a non-existing page, the browser returns a 200 http status code.
What is the expected behavior?
I'd would like to be able to return a 404 or 500 status code.
What is the motivation / use case for changing the behavior?
For SEO it is important to return correct status codes.
Please tell us about your environment:
I followed this solution from a previous reported issue. However, my
server.ts
differs from theirs, as mine is the same as the official repository' one.The text was updated successfully, but these errors were encountered: