We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 2af87f0 commit 7c1c798Copy full SHA for 7c1c798
1 file changed
backend/server.ts
@@ -57,7 +57,7 @@ async function startServer() {
57
app.use('/api/email',authenticateUser, emailRoutes);
58
app.use('/api/news',authenticateUser, newsRoutes);
59
app.use('/api/discord',authenticateUser, discordRoutes);
60
- app.use("/uploads/imgnews", authenticateUser, express.static(path.join(__dirname, "/uploads/imgnews")));
+ app.use("/api/uploads/imgnews", authenticateUser, express.static(path.join(__dirname, "/uploads/imgnews")));
61
62
// Démarrage du serveur
63
app.listen(server_port, () => {
0 commit comments