Fix Astro configuration error and secure Appwrite integration

This commit is contained in:
SpaghetGaming committed 2025-08-14 13:16:53 -04:00
1 parent 39eba48efd
commit 773e8ebaeb
7 files changed
+27 -7

No files matched your search

+9
View File
@@ -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);