mirror of
https://github.com/coollabsio/coolify-examples.git
synced 2026-02-18 13:28:57 +00:00
Update index.ts
This commit is contained in:
@@ -5,7 +5,8 @@ Bun.serve({
|
||||
const url = new URL(req.url);
|
||||
if (url.pathname === "/") return new Response("Home page!");
|
||||
if (url.pathname === "/blog") return new Response("Blog!");
|
||||
if (url.pathname === "/about") return new Response("About!");
|
||||
return new Response("404!");
|
||||
},
|
||||
})
|
||||
console.log(`Server running at http://localhost:${PORT}`);
|
||||
console.log(`Server running at http://localhost:${PORT}`);
|
||||
|
||||
Reference in New Issue
Block a user