Update main.ts

This commit is contained in:
Luke Hagar
2024-02-12 08:53:25 -06:00
parent 45cac7ef19
commit 1d140b2ec4

View File

@@ -16,7 +16,7 @@ export default async ({ req, res, log, error }: any) => {
// log(JSON.stringify(req.query));
const client = new Client()
.setEndpoint('https://cloud.appwrite.io/v1')
.setEndpoint('https://appwrite.plygrnd.org/v1')
.setProject(Bun.env["APPWRITE_FUNCTION_PROJECT_ID"])
.setKey(Bun.env["APPWRITE_API_KEY"]);