mirror of
https://github.com/wkulhanek/bonob.git
synced 2025-12-21 17:33:29 +01:00
Fix issue fetching public resources from web container when running out of docker
This commit is contained in:
@@ -120,8 +120,7 @@ function server(
|
|||||||
}
|
}
|
||||||
app.use(express.urlencoded({ extended: false }));
|
app.use(express.urlencoded({ extended: false }));
|
||||||
|
|
||||||
// todo: pass options in here?
|
app.use(express.static(path.resolve(__dirname, "..", "web", "public")));
|
||||||
app.use(express.static("./web/public"));
|
|
||||||
app.engine("eta", Eta.renderFile);
|
app.engine("eta", Eta.renderFile);
|
||||||
|
|
||||||
app.set("view engine", "eta");
|
app.set("view engine", "eta");
|
||||||
|
|||||||
Reference in New Issue
Block a user