mozilla / webcompat-dashboard

Web Compatibility Knowledge Base Next Generation Dashboard
Mozilla Public License 2.0
2 stars 2 forks source link

In production, respond with the index.html contents to the known routes. #16

Closed denschub closed 6 months ago

denschub commented 6 months ago

This fixes a regression I introduced yesterday in #15, where at the moment, if you refresh on one of the JS-routes, you just see a 404. I thought about sending all requests to index.html, but that would also make any request look valid, and we kinda want the server to show 404 for invalid stuff, so an allow-list like this is probably the best approach.

r? @ksy36