barrel / shopify-vite

Modern frontend tooling for Shopify theme development using Vite for a best-in-class DX.
https://shopify-vite.barrelny.com/
MIT License
287 stars 45 forks source link

Possible CORS errors in Console #104

Closed ConduciveMammal closed 1 year ago

ConduciveMammal commented 1 year ago

When running the server, I get a bunch of CORS errors, both for my own files and Shopify files.

For my files, I find I need to open the link, accept the security notice and then reload to get rid of those CORS errors.

Is this expected?

CleanShot 2023-10-25 at 9  46 28@2x

montalvomiguelo commented 1 year ago

@ConduciveMammal, Thanks for reaching out. The CORS errors might be related to the Shopify CLI rather than this Plugin. I recommend that you share this in the Shopify CLI repo for help with this specific issue.