More server stability

This commit is contained in:
2024-11-28 12:29:36 +01:00
parent 947ed225b6
commit 831a667a27
8 changed files with 56 additions and 29 deletions

View File

@@ -8,4 +8,7 @@ city.get("/", (req: Request, res: Response) => {
.then(cities => {
res.status(200).json(cities)
})
.catch(error => {
res.status(500).send()
})
})