实现 nacos + traefik,改了很多东西!!!
This commit is contained in:
@@ -2,11 +2,12 @@ import { defineConfig } from "vite";
|
||||
import { fresh } from "@fresh/plugin-vite";
|
||||
|
||||
export default defineConfig({
|
||||
server: {
|
||||
port: 3000, // 设置Vite开发服务器端口
|
||||
strictPort: true, // 严格使用指定端口,如果被占用则报错
|
||||
// 可选:允许跨域请求
|
||||
cors: true,
|
||||
},
|
||||
plugins: [fresh()],
|
||||
server: {
|
||||
host: "0.0.0.0",
|
||||
port: 3210, // 设置Vite开发服务器端口
|
||||
strictPort: true, // 严格使用指定端口,如果被占用则报错
|
||||
// 可选:允许跨域请求
|
||||
cors: true,
|
||||
},
|
||||
plugins: [ fresh() ],
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user