Handle invalid URLs with the frontend 404 page

This commit is contained in:
Maciej Ziarkowski 2019-08-14 14:17:47 +01:00
parent be564dccea
commit 6f4dfa2227

View File

@ -158,4 +158,7 @@ server.use('/tiles', tileserver);
server.use('/api', apiServer); server.use('/api', apiServer);
// use the frontend route for anything else - will presumably show the 404 page
server.use(frontendRoute);
export default server; export default server;