mirror of
https://github.com/WeBankFinTech/fes.js.git
synced 2025-04-05 11:18:54 +08:00
fix: 修复vite配置https无效问题
This commit is contained in:
parent
616de07763
commit
fb5caa61bc
@ -25,7 +25,7 @@ export default async (api, args) => {
|
|||||||
args: {},
|
args: {},
|
||||||
});
|
});
|
||||||
|
|
||||||
const isHTTPS = !!(process.env.HTTPS || args.https);
|
const isHTTPS = !!(process.env.HTTPS || args.https || api.config.viteOption.server?.https);
|
||||||
|
|
||||||
const bundleConfig = deepmerge(getInnerCommonConfig(api), {
|
const bundleConfig = deepmerge(getInnerCommonConfig(api), {
|
||||||
mode: 'development',
|
mode: 'development',
|
||||||
|
Loading…
x
Reference in New Issue
Block a user