nodejs express: Setting express.static path as parent folder (/..) error

前端 未结 0 1411
逝去的感伤
逝去的感伤 2021-01-14 20:19
import express from "express"
import path from "path"

const app = express();
const __dirname = path.resolve();

app.use(express.static(`${__dirn         


        
相关标签:
回答
  • 消灭零回复
提交回复
热议问题