在添加了发送index.html的根路由之后,它还会发送没有指定它的game.html页面。游戏文件位于根目录中名为game.html的文件夹中。所以我想知道为什么它要发送game.html文件?我使用的是Node.js和Express。const express = require("express");const port = 3000;
ap
from 'express'; app.use(express.json());
app.use(express.urlencoded({app.listen(5000, () => console.log("Server started at 5000...")); 当执行对路由http://localhost:5000的POST请求时,它激活了index.ts文件中<