Fix Astro configuration error and secure Appwrite integration
This commit is contained in:
1 parent
39eba48efd
commit
773e8ebaeb
7 files changed
+27
-7
No files matched your search
@@ -0,0 +1,9 @@
|
||||
import { Client, Storage } from "appwrite";
|
||||
|
||||
const client = new Client();
|
||||
|
||||
client
|
||||
.setEndpoint(import.meta.env.APPWRITE_ENDPOINT) // Your Appwrite endpoint
|
||||
.setProject(import.meta.env.APPWRITE_PROJECT_ID); // Your Project ID
|
||||
|
||||
export const storage = new Storage(client);
|
||||
Reference in new issue
Block a user