Serve webdir as application root

This commit is contained in:
2025-07-06 17:23:33 +02:00
parent c1df1e092e
commit 53eed67dfc

2
app.js
View File

@@ -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) {