Files
better-auth/dev/bun/index.ts

8 lines
127 B
TypeScript

import { auth } from "./auth";
Bun.serve({
fetch: auth.handler,
port: 4000,
});
console.log("Server running on port 4000");