Переработаны роутеры приложения

Переписано APi WebSocket для работы с новыми роутерами
This commit is contained in:
2025-10-03 17:11:31 +03:00
parent d75fb7ec3d
commit 6ec6523d71
54 changed files with 2593 additions and 3749 deletions

View File

@@ -3,7 +3,7 @@ const path = require("path");
require("dotenv").config();
const app = express();
const PORT = process.env.WEB_PORT || 4002;
const PORT = 4002;
const DIR_CARDS = process.env.CARDS_PATH || path.join(__dirname, '../cards');
const DIR_MAP = process.env.MAP_PATH || path.join(__dirname, '../map');