feat: 修改生产API标识,修改默认布局
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user