Skip to content

Commit

Permalink
fixed server.js part2
Browse files Browse the repository at this point in the history
  • Loading branch information
Aweiro committed Oct 29, 2024
1 parent 36482f4 commit bcb06fd
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions js/server.js
Original file line number Diff line number Diff line change
Expand Up @@ -105,3 +105,8 @@ app.delete('/photos/:name', (req, res) => {
app.listen(PORT, () => {
console.log(`Сервер запущено на http://localhost:${PORT}`);
});


app.get('/', (req, res) => {
res.send('Сервер працює!');
});

0 comments on commit bcb06fd

Please sign in to comment.