diff --git a/DOCKER.md b/DOCKER.md index 9e8426d..a5b78e9 100644 --- a/DOCKER.md +++ b/DOCKER.md @@ -103,8 +103,8 @@ Monochrome uses Appwrite for user authentication. While it defaults to official 1. Create a project in Appwrite. 2. Enable the **Google** or **Email/Password** providers in the Appwrite Console. 3. Set these variables in your `.env`: - - `APPWRITE_ENDPOINT`: Your Appwrite API endpoint (e.g., `https://auth.yourdomain.com/v1`). - - `APPWRITE_PROJECT_ID`: Your Appwrite project ID (e.g., `auth-for-monochrome`). + - `APPWRITE_ENDPOINT`: Your Appwrite API endpoint (e.g., `https://auth.yourdomain.com/v1`). + - `APPWRITE_PROJECT_ID`: Your Appwrite project ID (e.g., `auth-for-monochrome`). ### Database (PocketBase) @@ -115,6 +115,7 @@ docker compose --profile pocketbase up -d ``` #### PocketBase Schema Note + If you are setting up a new PocketBase collection for user data, ensure it has a field named `firebase_id` (this is a legacy name we use when we first started the accounts system, we used firebase. and im too lazy to change it so yea fuck you). --- diff --git a/index.html b/index.html index 43e8baf..2c311fd 100644 --- a/index.html +++ b/index.html @@ -1295,9 +1295,7 @@ />
- +
- + { diff --git a/styles.css b/styles.css index e0f4a4d..611a32b 100644 --- a/styles.css +++ b/styles.css @@ -5357,7 +5357,8 @@ img[src=''] { max-width: 400px; } -.custom-appwrite-endpoint, .custom-appwrite-project { +.custom-appwrite-endpoint, +.custom-appwrite-project { display: none; flex-direction: column; gap: 0.5rem; @@ -5365,7 +5366,8 @@ img[src=''] { width: 100%; } -.custom-appwrite-endpoint.visible, .custom-appwrite-project.visible { +.custom-appwrite-endpoint.visible, +.custom-appwrite-project.visible { display: flex; } diff --git a/vite-plugin-auth-gate.js b/vite-plugin-auth-gate.js index 9306b46..a83b58c 100644 --- a/vite-plugin-auth-gate.js +++ b/vite-plugin-auth-gate.js @@ -100,7 +100,6 @@ export default function authGatePlugin() { console.log(`Auth gate enabled (Project: ${APPWRITE_PROJECT_ID})`); - server.middlewares.use( cookieSession({ name: 'mono_session',