fix: add exact path route for index.html to fix vue rendering
Deploy API / deploy (push) Failing after 12s
Deploy API / deploy (push) Failing after 12s
This commit is contained in:
@@ -60,6 +60,7 @@ app.delete('/api/events/:id', async (c) => {
|
||||
})
|
||||
|
||||
// Statische Dateien (Unser Dashboard)
|
||||
app.get('/', serveStatic({ path: './public/index.html' }))
|
||||
app.use('/*', serveStatic({ root: './public' }))
|
||||
|
||||
const port = 3000
|
||||
|
||||
Reference in New Issue
Block a user