Skip to content

Commit f588f0e

Browse files
fibibotbartlomieju
andauthored
fix: point Oak+SQLite CRUD example log to a real endpoint (#3116)
Co-authored-by: fibibot <fibibot@users.noreply.github.com> Co-authored-by: Bartek Iwańczuk <biwanczuk@gmail.com>
1 parent ad96bcd commit f588f0e

1 file changed

Lines changed: 3 additions & 1 deletion

File tree

examples/scripts/http_server_oak_crud_middleware_with_sqlite3_db.ts

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -46,5 +46,7 @@ router.delete("/people/:id", (ctx) => {
4646
app.use(router.routes());
4747
app.use(router.allowedMethods());
4848
const PORT = 8369; // Any available port number can be defined here
49-
console.log(`Server is running on http://localhost:${PORT}`);
49+
console.log(
50+
`Server is running on http://localhost:${PORT} - try GET /people`,
51+
);
5052
await app.listen({ port: PORT });

0 commit comments

Comments
 (0)