babaohuang / GeminiProChat

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

Qualifying the vercel edge network region #72

Closed xiaoWangSec closed 8 months ago

xiaoWangSec commented 8 months ago

Describe the feature

Is it possible to bypass the issue of 'User location is not supported for the API use.' by qualifying the vercel edge network region? docs from vercel: https://vercel.com/docs/edge-network/regions#region-list

Additional context

No response

Participation

babaohuang commented 8 months ago

I have tried , but astro 2 framwork does not support this feature , we have a solution here

xiaoWangSec commented 8 months ago

OK, I know. If I use a Chinese mainland IP or a Singapore IP to access, it is normal; If I use a Hong Kong IP address to access the data, an error message is reported. Add some ruls in proxy software then it works correctly. Thanks.