Skip to content
This repository has been archived by the owner on Mar 25, 2024. It is now read-only.

Commit

Permalink
fix: 🐛fix BASE_URL to VITE_BASE_URL
Browse files Browse the repository at this point in the history
  • Loading branch information
buqiyuan committed Dec 13, 2021
1 parent 6653da6 commit 3d32e82
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 4 deletions.
3 changes: 1 addition & 2 deletions .env.development
Original file line number Diff line number Diff line change
@@ -1,8 +1,7 @@
# 只在开发模式中被载入
ENV = 'development'

# 网站前缀
BASE_URL = /
VITE_BASE_URL = /

# base api
VITE_BASE_API = '/api/admin/'
Expand Down
3 changes: 1 addition & 2 deletions .env.production
Original file line number Diff line number Diff line change
@@ -1,13 +1,12 @@
# 只在生产模式中被载入
ENV = 'production'

# base api
VITE_BASE_API = 'http://buqiyuan.site:7001/admin/'
VITE_BASE_SOCKET_PATH = '/ws'
VITE_BASE_SOCKET_NSP = '/admin'

# 网站前缀
BASE_URL = /vite-vue3-admin/
VITE_BASE_URL = /vite-vue3-admin/

# mock api
VITE_MOCK_API = '/mock-api/'
Expand Down

0 comments on commit 3d32e82

Please sign in to comment.