Skip to content

Commit

Permalink
Remove cors cnfiguration
Browse files Browse the repository at this point in the history
  • Loading branch information
barbara-chaves committed Nov 30, 2023
1 parent 54d7c62 commit 2105dfb
Showing 1 changed file with 1 addition and 7 deletions.
8 changes: 1 addition & 7 deletions cms/config/middlewares.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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',
Expand Down

0 comments on commit 2105dfb

Please sign in to comment.