Browse Source

增加 optimize 文件列表,避免 reload

YunaiV 2 years ago
parent
commit
281bddcd40
1 changed files with 2 additions and 0 deletions
  1. 2 0
      vite.config.ts

+ 2 - 0
vite.config.ts

@@ -25,6 +25,8 @@ export default ({ command, mode }: ConfigEnv): UserConfig => {
     root: root,
     // 服务端渲染
     server: {
+      // 是否开启 https
+      https: false,
       // 端口号
       port: env.VITE_PORT,
       host: "0.0.0.0",