-
-
Notifications
You must be signed in to change notification settings - Fork 9.2k
Closed
Labels
flag: 💥 breaking changeThis PR contains breaking changes and should not be mergedThis PR contains breaking changes and should not be mergedissue: bugIssue reporting a bugIssue reporting a bugseverity: mediumIf it breaks the basic use of the product but can be worked aroundIf it breaks the basic use of the product but can be worked aroundsource: core:strapiSource is core/strapi packageSource is core/strapi packagestalestale-before-2023status: confirmedConfirmed by a Strapi Team member or multiple community membersConfirmed by a Strapi Team member or multiple community members
Description
Bug report
Required System information
- Node.js version: v16.17.0
- NPM version: 6.14.17
- Strapi version: 4.3.8
- Database: SQLite
- Operating system: Windows 10
Describe the bug
There is no CORS headers when i request the api.
Steps to reproduce the behavior
- Launch "npx create-strapi-app@latest strapi-4.3.8 --no-run"
- Change the port ".env" to 3000
- Start the app in developpement mode and add content
- Request the API
Expected behavior
By default (from the documentation), there should be an "access-control-allow-origin : '*'" header.
Screenshots
Metadata
Metadata
Assignees
Labels
flag: 💥 breaking changeThis PR contains breaking changes and should not be mergedThis PR contains breaking changes and should not be mergedissue: bugIssue reporting a bugIssue reporting a bugseverity: mediumIf it breaks the basic use of the product but can be worked aroundIf it breaks the basic use of the product but can be worked aroundsource: core:strapiSource is core/strapi packageSource is core/strapi packagestalestale-before-2023status: confirmedConfirmed by a Strapi Team member or multiple community membersConfirmed by a Strapi Team member or multiple community members
Type
Projects
Status
Fixed/Shipped
Status
Done