Skip to content

Commit

Permalink
recent changes
Browse files Browse the repository at this point in the history
  • Loading branch information
ogeobubu committed Oct 23, 2024
1 parent 6b6d42f commit c5f998a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/app.ts
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ app.use('/uploads', express.static('uploads'));
app.use(express.static(path.join(__dirname, '../client/dist')));

app.get('*', (req, res) => {
res.sendFile(path.join(__dirname, '../client/dist'));
res.sendFile(path.join(__dirname, '../client/dist', 'index.html'));
});

export default app;

0 comments on commit c5f998a

Please sign in to comment.