feat: 强调不许修改client相对路径

This commit is contained in:
dayjoy
2025-10-10 16:45:02 +08:00
parent 2341e36aa9
commit c6464fe1d1

View File

@@ -20,7 +20,7 @@ app.use(nocache());
app.use(cors());
app.use(express.json({ limit: "100mb" }));
app.use(compression());
app.use(express.static(path.resolve(__dirname, "client")));
app.use(express.static(path.resolve(__dirname, "client"))); // DON'T MODIFY THIS LINE, IT IS USED IN BUILD
// Register tsoa routes
RegisterTsoaRoutes(app);