ecommerce-react icon indicating copy to clipboard operation
ecommerce-react copied to clipboard

How to run with localhost and remove CORS?

Open sangolariel opened this issue 1 year ago • 1 comments

acess to XMLHttpRequest at 'https://firebasestorage.googleapis.com/v0/b/bytex-ecommerce-dev.appspot.com/o?name=products%2FufTpyI6FflH0tLuuHBn1' from origin 'http://127.0.0.1:3000' has been blocked by CORS policy: Response to preflight request doesn't pass access control check: It does not have HTTP ok status.

sangolariel avatar Apr 18 '23 18:04 sangolariel

I used this and it worked for me: https://stackoverflow.com/questions/37760695/firebase-storage-and-access-control-allow-origin

dan200110 avatar Feb 27 '24 09:02 dan200110