This repository was archived by the owner on Jun 24, 2025. It is now read-only.

Description
our code was working on production mode, but now when we want to use our map it get failed by this error message:
Access to fetch at 'https://api.cedarmaps.com/v1/fonts...' from origin '...' has been blocked by CORS policy: The 'Access-Control-Allow-Origin' header has a value 'http://localhost' that is not equal to the supplied origin. Have the server send the header with a valid value, or, if an opaque response serves your needs, set the request's mode to 'no-cors' to fetch the resource with CORS disabled.
we didn't change anything on front-end so i have no idea what's going on here.