Handle invalid URLs with the frontend 404 page
This commit is contained in:
parent
be564dccea
commit
6f4dfa2227
@ -158,4 +158,7 @@ server.use('/tiles', tileserver);
|
||||
|
||||
server.use('/api', apiServer);
|
||||
|
||||
// use the frontend route for anything else - will presumably show the 404 page
|
||||
server.use(frontendRoute);
|
||||
|
||||
export default server;
|
||||
|
Loading…
Reference in New Issue
Block a user