feat: 强调不许修改client相对路径
This commit is contained in:
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user