diff --git a/cms/config/middlewares.ts b/cms/config/middlewares.ts index ffe1a5b..c9f9196 100644 --- a/cms/config/middlewares.ts +++ b/cms/config/middlewares.ts @@ -16,13 +16,7 @@ export default [ } }, }, - { - name: 'strapi::cors', - config: { - enabled: true, - origin: ['http://localhost:3000', 'http://localhost:1337', 'http://localhost:8000'] - } - }, + 'strapi::cors', 'strapi::poweredBy', 'strapi::logger', 'strapi::query',