aimeos request blocked by CORS policy

How to configure and adapt Aimeos based shops as developer
Forum rules
Always add your Aimeos and PHP version as well as your environment (Linux/Mac/Win)
Spam and unrelated posts will be removed immediately!
User avatar
hassanas
Posts: 3
Joined: 18 Jan 2021, 09:47

aimeos request blocked by CORS policy

Post by hassanas » 01 Feb 2021, 12:28

Access to XMLHttpRequest at 'http://pmb.local/jsonapi/product' from origin 'http://localhost:3000' has been blocked by CORS policy: Response to preflight request doesn't pass access control check: No 'Access-Control-Allow-Origin' header is present on the requested resource.

User avatar
aimeos
Administrator
Posts: 7889
Joined: 01 Jan 1970, 00:00

Re: aimeos request blocked by CORS policy

Post by aimeos » 03 Feb 2021, 08:23

Your domains and ports are different so this won't work (pbm.local vs. localhost:3000)
Professional support and custom implementation are available at Aimeos.com
If you like Aimeos, Image give us a star

User avatar
hassanas
Posts: 3
Joined: 18 Jan 2021, 09:47

Re: aimeos request blocked by CORS policy

Post by hassanas » 24 Feb 2021, 11:00


Post Reply