Ajout affichage favicon côté backend
This commit is contained in:
parent
4c15e8e167
commit
6ada8656b1
2
app.js
2
app.js
@ -33,7 +33,7 @@ app.use((req, res, next) =>
|
||||
next();
|
||||
});
|
||||
|
||||
//app.use(express.static(path.join(__dirname, "front/public")));
|
||||
app.use(express.static(path.join(__dirname, "front/public/img")));// permet affichage images côté API, notamment favicon.
|
||||
app.use(bodyParser.json());
|
||||
app.use("/api/user", userRoutes);
|
||||
app.use("/api/pause", userPausesRoutes);
|
||||
|
Loading…
Reference in New Issue
Block a user