Skip to content

Commit

Permalink
Update static file path in Express configuration
Browse files Browse the repository at this point in the history
  • Loading branch information
etienne committed Feb 5, 2024
1 parent 4f982d5 commit 021f14f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion back/src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ const server = http.createServer(app);
const io = new SocketIOServer(server);

// Configure Express to serve static files from the public folder
app.use(express.static("./public/index.html"));
app.use(express.static("./src/public"));
app.use(express.json());
app.use(messageRouters);

Expand Down

0 comments on commit 021f14f

Please sign in to comment.