mirror of
https://github.com/LukeHagar/appwrite-starter-function.git
synced 2025-12-06 12:27:49 +00:00
Update main.ts
This commit is contained in:
@@ -16,7 +16,7 @@ export default async ({ req, res, log, error }: any) => {
|
|||||||
// log(JSON.stringify(req.query));
|
// log(JSON.stringify(req.query));
|
||||||
|
|
||||||
const client = new Client()
|
const client = new Client()
|
||||||
.setEndpoint('https://cloud.appwrite.io/v1')
|
.setEndpoint('https://appwrite.plygrnd.org/v1')
|
||||||
.setProject(Bun.env["APPWRITE_FUNCTION_PROJECT_ID"])
|
.setProject(Bun.env["APPWRITE_FUNCTION_PROJECT_ID"])
|
||||||
.setKey(Bun.env["APPWRITE_API_KEY"]);
|
.setKey(Bun.env["APPWRITE_API_KEY"]);
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user