Skip to content

Commit

Permalink
fix: 由于域名会重定向http到https导致本地时无法代理到预览环境
Browse files Browse the repository at this point in the history
  • Loading branch information
lingting committed Oct 22, 2024
1 parent 70c3cc0 commit 0057520
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion config/proxy.ts
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
export default {
dev: {
'/api/': {
target: 'http://admin.ballcat.cn/',
target: 'https://admin.ballcat.cn/',
// 支持 websocket转发
ws: true,
changeOrigin: true,
Expand Down

0 comments on commit 0057520

Please sign in to comment.