修复前端代理目标协议支持 HTTPS 启动
Some checks are pending
Some checks are pending
This commit is contained in:
parent
a5e0fa6a5b
commit
ce17ec48a6
@ -8,7 +8,7 @@ export default defineConfig({
|
||||
sourcemap: false,
|
||||
},
|
||||
server: (() => {
|
||||
const apiTarget = process.env.SCERT_API_TARGET || 'http://127.0.0.1:5200';
|
||||
const apiTarget = process.env.SCERT_API_TARGET || 'https://127.0.0.1:5200';
|
||||
const apiProxy = {
|
||||
target: apiTarget,
|
||||
changeOrigin: false,
|
||||
|
||||
Loading…
Reference in New Issue
Block a user