Fix?
All checks were successful
Build and Deploy Nuxt / build (push) Successful in 42s

This commit is contained in:
2026-06-12 00:12:30 +02:00
parent 142d655d84
commit 9b7751c571
4 changed files with 16 additions and 6 deletions

View File

@@ -17,6 +17,7 @@ if (process.env.NODE_ENV) {
const app = express();
const httpServer = createServer(app);
const io = new Server(httpServer, {
path: '/api/socket.io',
cors: {
origin: true,
credentials: true,
@@ -86,4 +87,4 @@ app.get("/api/status", (req, res) => {
const PORT = process.env.PORT || 5000;
httpServer.listen(PORT, () => {
console.log("Server running on port 5000");
});
});