diff --git a/services/api.service.ts b/services/api.service.ts index 897a7bb..6ecb61f 100644 --- a/services/api.service.ts +++ b/services/api.service.ts @@ -19,6 +19,20 @@ export default class ApiService extends Service { whitelist: ["**"], use: [], mergeParams: true, + cors: { + origin: "*", + methods: [ + "GET", + "OPTIONS", + "POST", + "PUT", + "DELETE", + ], + allowedHeaders: ["*"], + exposedHeaders: [], + credentials: false, + maxAge: 3600, + }, authentication: false, authorization: false,