📅  最后修改于: 2022-03-11 15:03:25.454000             🧑  作者: Mango
const path = require("path");
app.use(express.static(path.join(__dirname,"nameOfYourReactApp","build")))
//Replace nameOfYourReactApp with the name of your app