allow methods

This commit is contained in:
vigdorov
2020-07-03 22:45:07 +03:00
parent 7a56b148f5
commit 0ddee4a35c
2 changed files with 6 additions and 1 deletions

View File

@ -1,3 +1,4 @@
export const DB_NAME = '/store-service';
export const MONGO_URL = `mongodb://localhost:27017${DB_NAME}`;
export const ALLOW_ORIGIN_ALL: [string, string] = ['Access-Control-Allow-Origin', '*'];
export const ALLOW_METHOD: [string, string] = ['Access-Control-Request-Method', 'POST DELETE PUT GET'];