From cbd053a64fc7c015f2c20b90bc1ac98cc039d755 Mon Sep 17 00:00:00 2001 From: Evan Yang Date: Tue, 7 Nov 2023 18:03:59 +0800 Subject: [PATCH 1/2] doc: Update README.md --- README.md | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/README.md b/README.md index 13c1b32bc..0d0359716 100644 --- a/README.md +++ b/README.md @@ -8,7 +8,7 @@ A demo repo based on [OpenAI GPT-3.5 Turbo API.](https://platform.openai.com/doc > ⚠️ Notice: Our API Key limit has been exhausted. So the demo site is not available now. -![chat-logo](https://cdn.staticaly.com/gh/yzh990918/static@master/chat-logo.webp) +![chat-logo](https://cdn.jsdelivr.net/gh/yzh990918/static@master/chat-logo.webp) ## Introducing `Anse` @@ -60,7 +60,7 @@ More info on https://github.com/ddiu8081/chatgpt-demo/discussions/247. > > Deploy with Vercel -![image](https://cdn.staticaly.com/gh/yzh990918/static@master/20230310/image.4wzfb79qt7k0.webp) +![image](https://cdn.jsdelivr.net/gh/yzh990918/static@master/20230310/image.4wzfb79qt7k0.webp) ### Deploy With Netlify @@ -71,18 +71,18 @@ More info on https://github.com/ddiu8081/chatgpt-demo/discussions/247. 1. [Fork](https://github.com/ddiu8081/chatgpt-demo/fork) this project, Go to [https://app.netlify.com/start](https://app.netlify.com/start) new Site, select the project you `forked` done, and connect it with your `GitHub` account. -![image](https://cdn.staticaly.com/gh/yzh990918/static@master/20230310/image.3nlt4hgzb16o.webp) +![image](https://cdn.jsdelivr.net/gh/yzh990918/static@master/20230310/image.3nlt4hgzb16o.webp) -![image](https://cdn.staticaly.com/gh/yzh990918/static@master/20230310/image.5fhfouap270g.webp) +![image](https://cdn.jsdelivr.net/gh/yzh990918/static@master/20230310/image.5fhfouap270g.webp) 2. Select the branch you want to deploy, then configure environment variables in the project settings. -![image](https://cdn.staticaly.com/gh/yzh990918/static@master/20230311/image.gfs9lx8c854.webp) +![image](https://cdn.jsdelivr.net/gh/yzh990918/static@master/20230311/image.gfs9lx8c854.webp) 3. Select the default build command and output directory, Click the `Deploy Site` button to start deploying the site. -![image](https://cdn.staticaly.com/gh/yzh990918/static@master/20230311/image.4jky9e1wbojk.webp) +![image](https://cdn.jsdelivr.net/gh/yzh990918/static@master/20230311/image.4jky9e1wbojk.webp) ### Deploy with Docker @@ -180,7 +180,7 @@ You can control the website through environment variables. After forking the project, you need to manually enable Workflows and Upstream Sync Action on the Actions page of the forked project. Once enabled, automatic updates will be scheduled every day: -![](https://cdn.staticaly.com/gh/yzh990918/static@master/20230518/image.2hhnrsrd2t1c.webp) +![](https://cdn.jsdelivr.net/gh/yzh990918/static@master/20230518/image.2hhnrsrd2t1c.webp) ## Frequently Asked Questions From 75b6d5b50b6a201c990a9a2b9aeb3f2ba3366d56 Mon Sep 17 00:00:00 2001 From: Evan Yang Date: Tue, 7 Nov 2023 18:04:36 +0800 Subject: [PATCH 2/2] Update README.zh-CN.md --- README.zh-CN.md | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/README.zh-CN.md b/README.zh-CN.md index 55efff5a8..8cd8c3cae 100644 --- a/README.zh-CN.md +++ b/README.zh-CN.md @@ -10,7 +10,7 @@ > ⚠️ 注意:我们的 API 密钥限制已用尽。所以演示站点现在不可用。 -![chat-logo](https://cdn.staticaly.com/gh/yzh990918/static@master/chat-logo.webp) +![chat-logo](https://cdn.jsdelivr.net/gh/yzh990918/static@master/chat-logo.webp) ## 本地运行 @@ -55,7 +55,7 @@ > > Deploy with Vercel -![image](https://cdn.staticaly.com/gh/yzh990918/static@master/20230310/image.4wzfb79qt7k0.webp) +![image](https://cdn.jsdelivr.net/gh/yzh990918/static@master/20230310/image.4wzfb79qt7k0.webp) ### 部署在 Netlify @@ -65,18 +65,18 @@ 1. [Fork](https://github.com/ddiu8081/chatgpt-demo/fork) 此项目,前往 [https://app.netlify.com/start](https://app.netlify.com/start) 新建站点,选择你 `fork` 完成的项目,将其与 `GitHub` 帐户连接。 -![image](https://cdn.staticaly.com/gh/yzh990918/static@master/20230310/image.3nlt4hgzb16o.webp) +![image](https://cdn.jsdelivr.net/gh/yzh990918/static@master/20230310/image.3nlt4hgzb16o.webp) -![image](https://cdn.staticaly.com/gh/yzh990918/static@master/20230310/image.5fhfouap270g.webp) +![image](https://cdn.jsdelivr.net/gh/yzh990918/static@master/20230310/image.5fhfouap270g.webp) 2. 选择要部署的分支,选择 `main` 分支,在项目设置中配置环境变量,环境变量配置参考下文。 -![image](https://cdn.staticaly.com/gh/yzh990918/static@master/20230310/image.6dvtfmoijb7k.webp) +![image](https://cdn.jsdelivr.net/gh/yzh990918/static@master/20230310/image.6dvtfmoijb7k.webp) 3. 选择默认的构建命令和输出目录,单击 `Deploy Site` 按钮开始部署站点。 -![image](https://cdn.staticaly.com/gh/yzh990918/static@master/20230310/image.e0n7c0zaen4.webp) +![image](https://cdn.jsdelivr.net/gh/yzh990918/static@master/20230310/image.e0n7c0zaen4.webp) ### 部署在 Docker 部署之前请确认 `.env` 文件正常配置,环境变量参考下方文档,[Docker Hub address](https://hub.docker.com/r/ddiu8081/chatgpt-demo). @@ -171,7 +171,7 @@ Environment: OPENAI_API_KEY=YOUR_OPEN_API_KEY Fork 项目后,您需要在 Fork 项目的操作页面上手动启用工作流和上游同步操作。启用后,每天都会执行自动更新: -![](https://cdn.staticaly.com/gh/yzh990918/static@master/20230518/image.2hhnrsrd2t1c.webp) +![](https://cdn.jsdelivr.net/gh/yzh990918/static@master/20230518/image.2hhnrsrd2t1c.webp) ## 常见问题