egg_attach_template/db/pbClient.ts

8 lines
157 B
TypeScript

import PocketBase from "pocketbase"
const pbClient = new PocketBase("https://ci-pb.xiaomiwh.cn")
pbClient.autoCancellation(false)
export default pbClient