improve security: back port, base port, login guard, scripts
This commit is contained in:
@@ -3,6 +3,7 @@ import { Logger } from './utils/logger';
|
||||
|
||||
const api = axios.create({
|
||||
baseURL: '/api',
|
||||
withCredentials: true, // Отправлять cookies
|
||||
});
|
||||
|
||||
// Interceptor для добавления токена к каждому запросу
|
||||
|
||||
Reference in New Issue
Block a user