This commit is contained in:
Stefan Pejcic
2024-11-07 19:03:37 +01:00
parent c6df945ed5
commit 09f9f9502d
2472 changed files with 620417 additions and 0 deletions

View File

@@ -0,0 +1,16 @@
import { Client as Appwrite, Account } from "appwrite";
const APPWRITE_URL = "https://cloud.appwrite.io/v1";
const APPWRITE_PROJECT = "6697687d002cbd31ba6b";
const client = new Appwrite();
client.setEndpoint(APPWRITE_URL).setProject(APPWRITE_PROJECT);
const account = new Account(client);
client.headers = {
...client.headers,
"Accept-Encoding": "identity",
};
export { client, account };