try to support subdirectory reverse proxy

This commit is contained in:
LouisLam 2021-08-05 17:56:38 +08:00
parent d315e8306b
commit a03dd91e40
3 changed files with 19 additions and 18 deletions

View file

@ -87,7 +87,7 @@ let indexHTML = fs.readFileSync("./dist/index.html").toString();
// Normal Router here
app.use("/", express.static("dist"));
app.use(express.static("dist"));
// Basic Auth Router here