From 53eed67dfcfb28f2b3a7d0b084342df59a1ebf7e Mon Sep 17 00:00:00 2001 From: clerie Date: Sun, 6 Jul 2025 17:23:33 +0200 Subject: [PATCH] Serve webdir as application root --- app.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app.js b/app.js index a290ddd..2e3c582 100755 --- a/app.js +++ b/app.js @@ -38,7 +38,7 @@ const start = async () => { const api = await createApi(vendo, config); app.use("/api", api); - app.use('/web', express.static(webdir)); + app.use('/', express.static(webdir)); app.listen(config.port, (err) => { if (err) {