HM-38. Добавлен логгер в бек, ведет записи в базу, добавлена ручка для получения логов
This commit is contained in:
@ -1,7 +1,9 @@
|
||||
export const DB_NAME = 'store-service';
|
||||
export const DB_TEST_NAME = 'store-service-test';
|
||||
export const DB_LOGGER = 'logger';
|
||||
export const MONGO_URL = 'mongodb://localhost:27017';
|
||||
export const COOLECTION_STORE = 'store';
|
||||
export const COLLECTION_STORE = 'store';
|
||||
export const COLLECTION_LOGS = 'logs';
|
||||
export const ALLOW_ORIGIN_ALL: [string, string] = ['Access-Control-Allow-Origin', '*'];
|
||||
export const ALLOW_CREDENTIALS: [string, string] = ['Access-Control-Allow-Credentials', 'true'];
|
||||
export const CONTENT_LENGTH: [string, string] = ['Content-Length', '0'];
|
||||
|
||||
Reference in New Issue
Block a user