improve security: back port, base port, login guard, scripts

This commit is contained in:
iqubik
2026-04-03 02:23:05 +03:00
parent 41265ccf37
commit e23de664ac
26 changed files with 1172 additions and 221 deletions
+1
View File
@@ -3,6 +3,7 @@ import { Logger } from './utils/logger';
const api = axios.create({
baseURL: '/api',
withCredentials: true, // Отправлять cookies
});
// Interceptor для добавления токена к каждому запросу