remove medium theme, fix navbar re-render, fix Node

This commit is contained in:
root
2026-05-23 02:42:38 -04:00
parent dcd62f35ac
commit 4268e5c379
7 changed files with 25 additions and 13 deletions
+5 -3
View File
@@ -198,9 +198,11 @@ cron.schedule('0 8 * * *', async () => {
})
// ─── Start ────────────────────────────────────────────────────
const PORT = process.env.API_PORT ?? 4000
server.listen(PORT, () => {
console.log(`[API] Server running on port ${PORT}`)
const PORT = Number(process.env.API_PORT ?? 4000)
const HOST = process.env.API_HOST ?? '0.0.0.0'
server.listen(PORT, HOST, () => {
console.log(`[API] Server running on ${HOST}:${PORT}`)
})
export { app, io }