Skip to content

Commit

Permalink
chore: reset .env
Browse files Browse the repository at this point in the history
  • Loading branch information
Chanzhaoyu committed Mar 9, 2023
1 parent c17cc16 commit e88b9be
Show file tree
Hide file tree
Showing 3 changed files with 1 addition and 2 deletions.
File renamed without changes.
1 change: 0 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -30,4 +30,3 @@ coverage

# Environment variables files
/service/.env
/.env
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -266,7 +266,7 @@ PS: 不进行打包,直接在服务器上运行 `pnpm start` 也可

#### 前端网页

1、参考根目录下 `.env.example` 文件内容创建 `.env` 文件,修改 `VITE_APP_API_BASE_URL` 为你的实际后端接口地址
1、修改根目录下 `.env` 文件中的 `VITE_APP_API_BASE_URL` 为你的实际后端接口地址

2、根目录下运行以下命令,然后将 `dist` 文件夹内的文件复制到你网站服务的根目录下

Expand Down

0 comments on commit e88b9be

Please sign in to comment.