fix: rename .env to .env.example

This commit is contained in:
qier222 2022-05-12 17:28:24 +08:00
parent 42089d4996
commit 678cc15390
No known key found for this signature in database
GPG Key ID: 9C85007ED905F14D
2 changed files with 7 additions and 3 deletions

3
.env
View File

@ -1,3 +0,0 @@
ELECTRON_WEB_SERVER_PORT = 42710
ELECTRON_DEV_NETEASE_API_PORT = 3000
VITE_APP_NETEASE_API_URL = /netease

7
.env.example Normal file
View File

@ -0,0 +1,7 @@
ELECTRON_WEB_SERVER_PORT = 42710
ELECTRON_DEV_NETEASE_API_PORT = 3000
VITE_APP_NETEASE_API_URL = /netease
# 部署到 Vercel 或 Netlify 等服务时写在配置文件 rewrite 中的网易云 API 地址
# 注意此时 VITE_APP_NETEASE_API_URL 的值要设置成 /netease
NETEASE_API_URL_FOR_REWRITE = https://example.your.netease.api.com