eubsoft / radedit

Build Node.js apps together quickly.
MIT License
3 stars 0 forks source link

Stall an HTTP response if the loader is still loading #25

Closed sameubank closed 10 years ago

sameubank commented 10 years ago

Currently, there is a chance you get a crappy vanilla 404 page if you visit a URL before the loader has mapped its route. A middleware should check to see if the loader has finished and optionally bind the response to loader.onReady