fix: repair local development post request proxy to https error problem (#63)

This commit is contained in:
vben
2020-10-28 23:00:03 +08:00
parent 06e1d3879b
commit 34c09fcea8
6 changed files with 16 additions and 9 deletions

View File

@@ -6,6 +6,7 @@ VITE_PUBLIC_PATH = /
# Cross-domain proxy, you can configure multiple
VITE_PROXY=[["/api","http://localhost:3000"]]
# VITE_PROXY=[["/api","https://vvbin.cn/test"]]
# Delete console
VITE_DROP_CONSOLE = false