diff --git a/src/store/store.controller.ts b/src/store/store.controller.ts index 0dafd80..89ad376 100644 --- a/src/store/store.controller.ts +++ b/src/store/store.controller.ts @@ -108,7 +108,7 @@ export class StoreController { return prepareStoreToStoreRequest(store); } - @Options() + @Options('') @Header(...ALLOW_ORIGIN_ALL) @Header(...ALLOW_METHOD) @Header(...ALLOW_CREDENTIALS) @@ -118,4 +118,15 @@ export class StoreController { async options(): Promise { return ''; } + + @Options(':key') + @Header(...ALLOW_ORIGIN_ALL) + @Header(...ALLOW_METHOD) + @Header(...ALLOW_CREDENTIALS) + @Header(...CONTENT_LENGTH) + @Header(...ALLOW_HEADERS) + @HttpCode(204) + async optionsByParam(): Promise { + return ''; + } }