mirror of
https://github.com/LukeHagar/better-auth.git
synced 2025-12-07 04:19:22 +00:00
12 lines
218 B
TypeScript
12 lines
218 B
TypeScript
import { createRouter } from "better-call";
|
|
import { createTodo } from "./actions";
|
|
|
|
|
|
export const router = createRouter({
|
|
createTodo,
|
|
}, {
|
|
basePath: "/api/v1",
|
|
onError(e) {
|
|
console.log(e)
|
|
},
|
|
}) |