babaohuang / GeminiProChat

Minimal web UI for GeminiPro.
https://geminiprochat.com
MIT License
4.3k stars 12.36k forks source link

User location not supported for the API use. #16

Closed pei92 closed 10 months ago

pei92 commented 10 months ago

How is Gemini Pro Chat deployed?

Vercel

Describe the bug

部署到Vercel后,打开提示User location not supported for the API use.

Console Logs

No response

Participation

antergone commented 10 months ago

自己部署一个Vercel Edge,把Base URL换了即可。https://simonmy.com/posts/使用vercel反向代理google-palm-api.html

babaohuang commented 10 months ago

自己部署一个Vercel Edge,把Base URL换了即可。https://simonmy.com/posts/使用vercel反向代理google-palm-api.html

感谢大佬提供的解决方案!完美解决了User location not supported for the API use.问题!