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
Please select the type of issue you are reporting:
For dynamic options loaders, we are using this code to avoid CORS.
Object.entries(allowCorsFor(req)).map(([name, value]) => { ctx.response.headers.set(name, value); });
However, requests from the admin panel should not encounter CORS problems.
vtex/loaders/options/productIdByTerm.ts
Our admin should be able to do request to loaders without this allowCors explicity.
The text was updated successfully, but these errors were encountered:
No branches or pull requests
Issue Type
Please select the type of issue you are reporting:
Description
For dynamic options loaders, we are using this code to avoid CORS.
However, requests from the admin panel should not encounter CORS problems.
Steps to Reproduce (for bugs)
vtex/loaders/options/productIdByTerm.ts
Expected Behavior
Our admin should be able to do request to loaders without this allowCors explicity.
The text was updated successfully, but these errors were encountered: