实现 nacos + traefik,改了很多东西!!!

This commit is contained in:
编码猿
2025-09-22 02:27:53 +08:00
parent e038fdb965
commit dabb91ef1e
71 changed files with 27668 additions and 189 deletions

View File

@@ -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() ],
});