diff --git a/src/pages/admin/edit.astro b/src/pages/admin/edit.astro index 2834787..5662d12 100644 --- a/src/pages/admin/edit.astro +++ b/src/pages/admin/edit.astro @@ -1,7 +1,11 @@ --- import SiteLayout from '../../components/SiteLayout.astro'; -// In a real app, you'd check authentication here +// Ensure ADMIN_USERNAME and ADMIN_PASSWORD env vars are set in Coolify +// and match the credentials Caddy uses for Basic Auth. +// From Caddy logs, username should be 'Gregman'. +const adminUser = import.meta.env.ADMIN_USERNAME; +const adminPass = import.meta.env.ADMIN_PASSWORD; --- @@ -43,7 +47,7 @@ import SiteLayout from '../../components/SiteLayout.astro'; -