修复前端代理目标协议支持 HTTPS 启动
This commit is contained in:
1 parent
a5e0fa6a5b
commit
ce17ec48a6
1 file changed
+1
-1
@@ -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,
|
||||
|
||||
Reference in new issue
Block a user