UI Bugfixes

This commit is contained in:
2024-10-10 19:23:13 +02:00
parent ba752fa906
commit 461bc753e6
11 changed files with 94 additions and 50 deletions

View File

@@ -30,9 +30,9 @@ const path = require('path')
app.use('/static', express.static(path.join(__dirname, 'images')))
// Add delay for more realistic response times
// app.use((req, res, next) => {
// setTimeout(next, Math.floor((Math.random () * 2000) + 100))
// })
app.use((req, res, next) => {
setTimeout(next, Math.floor((Math.random () * 2000) + 100))
})
// Routes
app.use("/api", api)