mirror of
https://github.com/LukeHagar/website.git
synced 2025-12-09 21:07:46 +00:00
working og images fonts
This commit is contained in:
12
src/lib/appwrite/init.ts
Normal file
12
src/lib/appwrite/init.ts
Normal file
@@ -0,0 +1,12 @@
|
||||
import { PUBLIC_APPWRITE_PROJECT_INIT_ID } from '$env/static/public';
|
||||
import { Client, Account, Databases } from 'appwrite';
|
||||
|
||||
const client = new Client();
|
||||
|
||||
client.setEndpoint('https://cloud.appwrite.io/v1').setProject(PUBLIC_APPWRITE_PROJECT_INIT_ID);
|
||||
|
||||
export const appwriteInit = {
|
||||
client,
|
||||
account: new Account(client),
|
||||
database: new Databases(client)
|
||||
};
|
||||
Reference in New Issue
Block a user