Skip to content

Commit 2447ab0

Browse files
committed
🐛 由于域名会重定向http到https导致本地时无法代理到预览环境
1 parent 4b193c7 commit 2447ab0

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

vite.config.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ import VueI18n from '@intlify/unplugin-vue-i18n/vite'
1919
import { projectTitle } from './src/config'
2020
import { antdvStyleDeps } from './src/utils/resolvers'
2121

22-
const serverAddress = 'http://admin.ballcat.cn'
22+
const serverAddress = 'https://admin.ballcat.cn'
2323
// const serverAddress = 'http://127.0.0.1:8080'
2424

2525
// https://vitejs.dev/config/

0 commit comments

Comments
 (0)