2
0

feat: 修改生产API标识,修改默认布局

This commit is contained in:
TsMask
2024-11-28 10:36:01 +08:00
parent 1240d9aedf
commit 19d48eac0e
15 changed files with 27 additions and 91 deletions

View File

@@ -4,7 +4,6 @@ import { defineConfig, loadEnv } from 'vite';
import dayjs from 'dayjs';
import { setupVitePlugins } from './build/plugins';
import { createViteProxy } from './build/config';
//test
export default defineConfig(configEnv => {
const viteEnv = loadEnv(configEnv.mode, process.cwd()) as unknown as Env.ImportMeta;
@@ -32,8 +31,8 @@ export default defineConfig(configEnv => {
},
server: {
host: '0.0.0.0',
port: 9527,
open: true,
port: 8085,
open: false,
proxy: createViteProxy(viteEnv, configEnv.command === 'serve'),
fs: {
cachedChecks: false