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
I'm building a webapp where I'd like to add pursuit search, but fetch requests to pursuit are failing due to access control issues.
I think this could be solved by adding ie:
optionsSearchR :: Handler RepPlain optionsSearchR = do addHeader "Access-Control-Allow-Origin" "*" addHeader "Access-Control-Allow-Methods" "GET, OPTIONS" return $ RepPlain $ toContent ("" :: Text) getSearchR :: Handler TypedContent getSearchR = do addHeader "Access-Control-Allow-Origin" "*"
Are there any objections to this? If not I'll make a PR.
The text was updated successfully, but these errors were encountered:
No branches or pull requests
I'm building a webapp where I'd like to add pursuit search, but fetch requests to pursuit are failing due to access control issues.
I think this could be solved by adding ie:
Are there any objections to this? If not I'll make a PR.
The text was updated successfully, but these errors were encountered: