bradamelton / saberfin.io

Issues for the https://saberfin.io website
0 stars 0 forks source link

CORS error for bad ticker #97

Open bradamelton opened 1 year ago

bradamelton commented 1 year ago

Cross-Origin Request Blocked: The Same Origin Policy disallows reading the remote resource at http://localhost:7772/min/v1/symbol/disn. (Reason: CORS header ‘Access-Control-Allow-Origin’ missing). Status code: 404

bradamelton commented 5 months ago

search a symbol like "crap" in the symbol box and watch the console. Looking at the network everything looks fine.

Access to fetch at 'https://saberfin.io:7772/min/v1/symbol/crap' from origin 'https://saberfin.io' has been blocked by CORS policy: 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.

bradamelton commented 5 months ago

maybe its how im returning the 404.