Skip to content

Commit

Permalink
front test 2
Browse files Browse the repository at this point in the history
  • Loading branch information
bakgom123 committed Jan 4, 2025
1 parent 28b30cb commit ff05fc1
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions frontend/server.js
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,11 @@ app.get('/', (req, res) => {
res.redirect('/html/login.html');
});

// /health 엔드포인트 추가
app.get('/health', (req, res) => {
res.status(200).send('OK');
});

app.listen(port, () => {
console.log(`Frontend server running at port ${port}`);
});

0 comments on commit ff05fc1

Please sign in to comment.