Исправлено дублирование сообщений в task-чате: защита от двойного Enter/клика по кнопке отправки

This commit is contained in:
2026-08-24 16:53:25 +03:00
parent 8b713e66c0
commit c0e2ddd9c8
11 changed files with 1 additions and 1666 deletions

View File

@@ -41,7 +41,6 @@ import organizationSkinsRouter from "./organization-skins.routes";
import { registerSyncRoutes } from "./sync.routes";
import { registerMedScheduleRoutes } from "../medschedule/routes";
import { registerMedScheduleBotRoutes } from "../medschedule/bot.routes";
import { registerGpsRoutes } from "../gps/routes";
import { registerVpnRoutes } from "../vpn";
import { FIELD_TYPE_DEFINITIONS } from "../../shared/field-types";
export { publishNotificationSSE };
@@ -121,8 +120,6 @@ export async function registerRoutes(app: Express): Promise<Server> {
registerSyncRoutes(app);
registerMedScheduleRoutes(app);
registerMedScheduleBotRoutes(app);
// GPS-модуль: публичный /api/gps/ingest регистрируется внутри до authenticateToken
registerGpsRoutes(app);
registerVpnRoutes(app);
const httpServer = createServer(app);