import { initSchedule } from "./schedule" initSchedule() Bun.serve({ async fetch(req) { const url = new URL(req.url) // 根路由 if (url.pathname === "/") return new Response("hello, glade to see you!") if (url.pathname === "/ci") return new Response("OK") return new Response("OK") }, port: 3000, })