Skip to content

Commit 0057520

Browse files
committed
fix: 由于域名会重定向http到https导致本地时无法代理到预览环境
1 parent 70c3cc0 commit 0057520

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

config/proxy.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
export default {
99
dev: {
1010
'/api/': {
11-
target: 'http://admin.ballcat.cn/',
11+
target: 'https://admin.ballcat.cn/',
1212
// 支持 websocket转发
1313
ws: true,
1414
changeOrigin: true,

0 commit comments

Comments
 (0)