Skip to content

Commit

Permalink
Merge pull request babaohuang#111 from antergone/main
Browse files Browse the repository at this point in the history
update readme
  • Loading branch information
babaohuang authored Dec 27, 2023
2 parents 4b47d96 + dbbf7f3 commit 1702e51
Show file tree
Hide file tree
Showing 3 changed files with 12 additions and 12 deletions.
8 changes: 4 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -20,12 +20,12 @@ Just click the button above and follow the instructions to deploy your own copy
> #### Solution for "User location is not supported for the API use"
> If you encounter the issue **"User location is not supported for the API use"**, follow these steps to resolve it:
>
> 1. Go to this [**palm-proxy**](https://github.com/antergone/palm-proxy) repo and click **"Deploy With Vercel"**.
> 2. Once the deployment is complete, you will receive a domain name assigned by Vercel (e.g., `https://xxx.vercel.app`).
> 3. In your **Gemini Pro Chat** project, set an environment variable named `API_BASE_URL` with the value being the domain you got from deploying the palm proxy (`https://xxx.vercel.app`).
> 1. Go to this [**palm-netlify-proxy**](https://github.com/antergone/palm-netlify-proxy) repo and click **"Deploy With Netlify"**.
> 2. Once the deployment is complete, you will receive a domain name assigned by Netlify (e.g., `https://xxx.netlify.app`).
> 3. In your **Gemini Pro Chat** project, set an environment variable named `API_BASE_URL` with the value being the domain you got from deploying the palm proxy (`https://xxx.netlify.app`).
> 4. Redeploy your **Gemini Pro Chat** project to finalize the configuration. This should resolve the issue.
>
> Thanks to [**antergone**](https://github.com/antergone/palm-proxy) for providing this solution.
> Thanks to [**antergone**](https://github.com/antergone/palm-netlify-proxy) for providing this solution.
### Deploy on Railway

Expand Down
8 changes: 4 additions & 4 deletions README_cn.md
Original file line number Diff line number Diff line change
Expand Up @@ -25,12 +25,12 @@
> #### 关于 API 使用过程中 “User location is not supported for the API use” 的解决方案
> 如果你遇到了 **“User location is not supported for the API use”** 的问题,请按照以下步骤进行解决:
>
> 1. 前往 [**palm-proxy**](https://github.com/antergone/palm-proxy) 仓库并点击其中的 **“Deploy With Vercel”**
> 2. 部署完成后,你将收到 Vercel 分配的域名 (例如 `https://xxx.vercel.app`)。
> 3. 在你的 **Gemini Pro Chat** 项目中,设置名为 `API_BASE_URL` 的环境变量,其值为部署 palm-proxy 时获得的域名 (`https://xxx.vercel.app`)。
> 1. 前往 [**palm-netlify-proxy**](https://github.com/antergone/palm-netlify-proxy) 仓库并点击其中的 **“Deploy With Netlify**
> 2. 部署完成后,你将收到 Netlify 分配的域名 (例如 `https://xxx.netlify.app`)。
> 3. 在你的 **Gemini Pro Chat** 项目中,设置名为 `API_BASE_URL` 的环境变量,其值为部署 palm-proxy 时获得的域名 (`https://xxx.netlify.app`)。
> 4. 重新部署你的 **Gemini Pro Chat** 项目来完成配置。这应该可以解决问题。
>
> 感谢 [**antergone**](https://github.com/antergone/palm-proxy) 提供解决方案。
> 感谢 [**antergone**](https://github.com/antergone/palm-netlify-proxy) 提供解决方案。
### 使用 Railway 部署

Expand Down
8 changes: 4 additions & 4 deletions README_it.md
Original file line number Diff line number Diff line change
Expand Up @@ -21,12 +21,12 @@ Clicca sul pulsante in alto e seguire le istruzioni per distribuire la tua copia
> #### Soluzione per "User location is not supported for the API use"
> Se riscontri il problema **"User location is not supported for the API use"**, segui questi passaggi per risolverlo:
>
> 1. Vai a questo repository [**palm-proxy**](https://github.com/antergone/palm-proxy) e fai clic su **"Deploy With Vercel"**.
> 2. Una volta completata la distribuzione, riceverai un nome di dominio assegnato da Vercel (ad esempio, `https://xxx.vercel.app`).
> 3. Nel tuo progetto **Gemini Pro Chat**, imposta una variabile di ambiente denominata "API_BASE_URL" con il valore corrispondente al dominio ottenuto dalla distribuzione del proxy Palm (`https://xxx.vercel.app`).
> 1. Vai a questo repository [**palm-netlify-proxy**](https://github.com/antergone/palm-netlify-proxy) e fai clic su **"Deploy With Netlify"**.
> 2. Una volta completata la distribuzione, riceverai un nome di dominio assegnato da Netlify (ad esempio, `https://xxx.netlify.app`).
> 3. Nel tuo progetto **Gemini Pro Chat**, imposta una variabile di ambiente denominata "API_BASE_URL" con il valore corrispondente al dominio ottenuto dalla distribuzione del proxy Palm (`https://xxx.netlify.app`).
> 4. Ridistribuisci il tuo progetto **Gemini Pro Chat** per finalizzare la configurazione. Questo dovrebbe risolvere il problema.
>
> Grazie a [**antergone**](https://github.com/antergone/palm-proxy) per fornire questa soluzione.
> Grazie a [**antergone**](https://github.com/antergone/palm-netlify-proxy) per fornire questa soluzione.
>
### Distribuire Con Railway
Expand Down

0 comments on commit 1702e51

Please sign in to comment.