allow methods
This commit is contained in:
@ -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'];
|
||||
|
||||
Reference in New Issue
Block a user