李轻舟
12 months ago
committed by
GitHub
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with
1 additions and
1 deletions
-
docs/src/guide/essentials/build.md
|
|
@ -214,7 +214,7 @@ server { |
|
|
|
|
|
|
|
|
使用 nginx 处理项目部署后的跨域问题 |
|
|
使用 nginx 处理项目部署后的跨域问题 |
|
|
|
|
|
|
|
|
1. 配置前端项目接口地址,在项目目录下的``.env.production`文件中配置: |
|
|
1. 配置前端项目接口地址,在项目目录下的`.env.production`文件中配置: |
|
|
|
|
|
|
|
|
```bash |
|
|
```bash |
|
|
VITE_GLOB_API_URL=/api |
|
|
VITE_GLOB_API_URL=/api |
|
|
|