Created
March 5, 2023 20:52
-
-
Save ByteCrak07/feef4b9ee0c93d96437bd3c56ed7d24c to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import PocketBase from "pocketbase"; | |
const pb = new PocketBase(process.env.NEXT_PUBLIC_PB_URL); | |
if (process.env.NODE_ENV === "development") pb.autoCancellation(false); | |
export default pb; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment