mirror of
https://github.com/stefanpejcic/openpanel
synced 2025-06-26 18:28:26 +00:00
17 lines
398 B
TypeScript
17 lines
398 B
TypeScript
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 };
|