修复前端代理目标协议支持 HTTPS 启动
Some checks are pending
Build and Release / Build Release Package (tar.gz, amd64, linux) (push) Waiting to run
Build and Release / Build Release Package (tar.gz, arm64, linux) (push) Waiting to run
Build and Release / Build Release Package (zip, amd64, windows) (push) Waiting to run

This commit is contained in:
xuans 2026-10-20 11:15:18 +08:00
parent a5e0fa6a5b
commit ce17ec48a6

View File

@ -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,