Strapi /upload photo not uploading error

System Information
  • Strapi Version: 5.3.0
  • Operating System:
  • Database: sqlite
  • Node Version: 20
  • NPM Version: 10.8.3

strapi does not allow me to upload photos to my site with admin panel due to cors settings, but I set the cors errors correctly in the form of url
{
name: ‘strapi::cors’,
config: {
origin: [‘https://ozanablayhairtransplant.com’],
methods: [‘GET’, ‘POST’, ‘PUT’, ‘DELETE’, ‘OPTIONS’],
headers: [‘Content-Type’, ‘Authorization’, ‘Origin’, ‘Accept’],
},
},

[quote=“Mert_Yaman, post:1, topic:48870, full:true”]

System Information
  • Strapi Version: 5.3.0
  • Operating System:
  • Database: sqlite
  • Node Version: 20
  • NPM Version: 10.8.3

strapi does not allow me to upload photos to my site with admin panel due to cors settings, but I set the cors errors correctly in the form of url
{
name: ‘strapi::cors’,
config: {

Hello,
Thanks for this info
Best Regards
merry867
Statistics for Spotify

Thanks for answer. It works.