CleverStack / angular-seed

The AngularJS based Modular Frontend for CleverStack, MEAN and so much more
http://youtube.com/watch?v=-4ArURHExhQ
MIT License
118 stars 36 forks source link

Inception when testing E2E #31

Closed leostera closed 10 years ago

leostera commented 10 years ago

The fallbackToIndex middleware should throw 404's if it's a file it's looking for and it's non-existant.

The fact that it fallbacks to index even on 404's for files (that have an extension) makes it load the index again, which bootstraps angular, which loads that same file that should be a 404 but loads the index again, which bootstraps angular, which loads that same file that….and on and on and on.

So yeah, this has to be fixed.

adnan-i commented 10 years ago

+1 for issue title