the-orange-alliance / toa-angular-old

🤖 A webapp for accessing data about the FIRST Tech Challenge
https://theorangealliance.org
MIT License
45 stars 31 forks source link

Pages that don't exist return status 200 when they should be returning 418 or 404 #115

Open hook321 opened 6 years ago

hook321 commented 6 years ago

Example: https://theorangealliance.org/dfsdgfhr

afera15 commented 6 years ago

This problem does not appear for us, can you screenshot the error?

afera15 commented 6 years ago

This seems to be working properly, please reopen with pictures of the error and pages.

hook321 commented 6 years ago

image

Techno11 commented 5 years ago

This happens because While the angular app is loading, the page returns 200 OK. That is what your CURL request sees. The 404 or 418 only comes AFTER the Angular app has finished loading.

ofekashery commented 5 years ago

As Soren wrote, it's not possible

Techno11 commented 5 years ago

This is possible with angular-universal