This commit is contained in:
2025-10-13 12:19:22 -04:00
parent e7fff00001
commit 47a76569c1
7 changed files with 20 additions and 494 deletions

View File

@@ -24,7 +24,7 @@ const usersRoute = app.get('/users', async (c) => {
return c.json(users);
});
const port = Number.parseInt(process.env.PORT || '3000');
const port = Number.parseInt(process.env.PORT || '3000', 10);
console.log(`API server listening on port ${port}`);
// This exports the type of our app's routes,