Update cloudflare-pages-cn.md

This commit is contained in:
Darth Pika 2023-05-09 17:31:19 -07:00 committed by GitHub
parent 652d803739
commit be58d3afb6
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -18,12 +18,15 @@ npx https://prerelease-registry.devprod.cloudflare.dev/next-on-pages/runs/493084
9. Build output directory 用系统默认,不要改动; 9. Build output directory 用系统默认,不要改动;
10. Root Directory 不要改动; 10. Root Directory 不要改动;
11. Environment variables ,点击>然后Add variable按如下填写 11. Environment variables ,点击>然后Add variable按如下填写
- NODE_VERSION=20.1 - NODE_VERSION=20.1
- NEXT_TELEMETRY_DISABLE=1 - NEXT_TELEMETRY_DISABLE=1
- OPENAI_API_KEY=你自己的API Key - OPENAI_API_KEY=你自己的API Key
- YARN_VERSION=1.22.19 - YARN_VERSION=1.22.19
- PHP_VERSION=7.4 - PHP_VERSION=7.4
下面的根据实际需要选填: 下面的根据实际需要选填:
- CODE= 可选填,访问密码,可以使用逗号隔开多个密码 - CODE= 可选填,访问密码,可以使用逗号隔开多个密码
- OPENAI_ORG_ID= 可选填,指定 OpenAI 中的组织 ID - OPENAI_ORG_ID= 可选填,指定 OpenAI 中的组织 ID
- HIDE_USER_API_KEY=1 可选,不让用户自行填入 API Key - HIDE_USER_API_KEY=1 可选,不让用户自行填入 API Key