We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
On a reuse project I'm trying to fetch the locations.jsonl.gz file from a Frontend. But fetch gives me a CORS error.
locations.jsonl.gz
fetch
Is this something that we need to configure in nginx.conf ? Similar to the /img config in that file for instance ?
/img
The text was updated successfully, but these errors were encountered:
@raphael0202 i need help 🙏
Sorry, something went wrong.
@raphodn You need to add CORS headers directive to /data here:
/data
# Add CORS headers add_header 'Access-Control-Allow-Origin' '*'; add_header 'Access-Control-Allow-Methods' 'GET, OPTIONS'; add_header 'Access-Control-Allow-Headers' 'DNT,User-Agent,X-Requested-With,If-Modified-Since,Cache-Control,Content-Type,Range'; add_header 'Access-Control-Expose-Headers' 'Content-Length,Content-Range';
Successfully merging a pull request may close this issue.
What
On a reuse project I'm trying to fetch the
locations.jsonl.gz
file from a Frontend.But
fetch
gives me a CORS error.Is this something that we need to configure in nginx.conf ?
Similar to the
/img
config in that file for instance ?Related issues
The text was updated successfully, but these errors were encountered: