decred / dcrtime

Decred anchored timestamp client, proxy, and server.
ISC License
28 stars 23 forks source link

Browser requests are blocked by CORS #40

Closed fernandoabolafio closed 5 years ago

fernandoabolafio commented 5 years ago

Cannot get past CORS when sending requests from the browser. I got the following CORS issue:

Access to fetch at 'https://time.decred.org:49152/v1/verify/' from origin 'https://localhost:3001' 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. If an opaque response serves your needs, set the request's mode to 'no-cors' to fetch the resource with CORS disabled.
dajohi commented 5 years ago

Please reopen if still an issue.