Skip to content
New issue

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

cors-anywhere proxy set-up #45

Open
bennokayser1337 opened this issue Mar 18, 2022 · 1 comment
Open

cors-anywhere proxy set-up #45

bennokayser1337 opened this issue Mar 18, 2022 · 1 comment

Comments

@bennokayser1337
Copy link

Hi there,

first of all, thank you very much for the package!

I have a problem setting up the proxy with cors-anywhere....
How should the proxy url with cors-anywhere be formated? At the moment the request is sent like this ->
https://powerful-gorge-XXXX.herokuapp.com/https://maps.googleapis.com/maps/...

and in flutter:
void initState() {
googlePlace = g.GooglePlace('XXX',
proxyUrl: 'https://powerful-gorge-XXX.herokuapp.com');
super.initState();
}

Thank you very much,
Benno

@cardosopab
Copy link

Where you able to figure it out? Crazy we need to use a proxy server to get around a simple http call.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants