Skip to content

Commit

Permalink
fixedServerBug
Browse files Browse the repository at this point in the history
  • Loading branch information
Student authored and Student committed Jul 20, 2023
1 parent a522e33 commit 448b815
Show file tree
Hide file tree
Showing 4 changed files with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions server/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -49,6 +49,8 @@ app.use('/users', users);
app.use('/auth', authRoutes);
app.use('/wofRoutes', wofRouter);
app.use('/messagesHandling', messageRouter);
// serve the uploads folder as a static directory
app.use('/uploads', express.static('server/public/uploads'));

// app.get('/favicon.ico', (req, res) => {
// res.status(204).end(); // respond with a 204 No Content status code
Expand Down
Binary file added server/public/uploads/1689891033055-killua.jpeg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added server/public/uploads/1689895044700-killua.jpeg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added server/public/uploads/1689895130805-killua.jpeg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.

0 comments on commit 448b815

Please sign in to comment.