Skip to content

Commit

Permalink
Correct health endpoint
Browse files Browse the repository at this point in the history
  • Loading branch information
YaytayAtWork committed Jul 16, 2024
1 parent 481563f commit 66cbc0b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion server/server.js
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ import apiRouter from './apiRouter.js';
const app = express();

app.use(apiRouter)
app.get('/health', (req, req) => {
app.get('/health', (_, res) => {
res.send('up')
})
app.use(express.static(path.resolve(path.dirname(fileURLToPath(import.meta.url)), 'dist'), { index: false }));
Expand Down

0 comments on commit 66cbc0b

Please sign in to comment.