domfarolino / angular2-login-seed

(deprecated) Seed app w/ Angular2, Node, Express, and OAuth login
https://domfarolino.com/angular2-login-seed
MIT License
181 stars 77 forks source link

Local Express server tries to serve old version of front end on request of the root / #6

Closed domfarolino closed 7 years ago

domfarolino commented 7 years ago

This is a simple fix I need to get in soon. The express server should solely be used for its API endpoints, and should serve no other files. However if you visit the root URL of the express app (localhost:5000) it tries to serve an old version of the Angular app's front-end. This needs to be resolved as zone catches a ton of errors. Its not a big problem right now primarily because the root URL express app should never be hit anyways but it needs to be done.