diff --git a/app/src/server.tsx b/app/src/server.tsx index ce807088..3d46d6ab 100644 --- a/app/src/server.tsx +++ b/app/src/server.tsx @@ -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;