This repository was archived by the owner on Nov 22, 2024. It is now read-only.
  
  
  
  
  
Description
- [ ] bug report
- [x] feature request
- What modules are related to this Issue?
- [ ] aspnetcore-engine
- [ ] common
- [x] express-engine
- [ ] hapi-engine
- [ ] module-map-ngfactory-loader
- 
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, myserver.tsdiffers from theirs, as mine is the same as the official repository' one.