diff --git a/ui/.env.example b/ui/.env.example index 284108b..ba252aa 100644 --- a/ui/.env.example +++ b/ui/.env.example @@ -4,3 +4,7 @@ BACKEND_URL=http://localhost:8000 NEXT_PUBLIC_NODE_ENV=development NEXT_PUBLIC_DEPLOYMENT_MODE: "oss" NEXT_PUBLIC_AUTH_PROVIDER="local" + +# Maintenance Mode +# MAINTENANCE_MODE=true +# MAINTENANCE_MESSAGE="We are currently performing scheduled maintenance. Please check back soon." diff --git a/ui/src/app/maintenance/page.tsx b/ui/src/app/maintenance/page.tsx new file mode 100644 index 0000000..a53e8dd --- /dev/null +++ b/ui/src/app/maintenance/page.tsx @@ -0,0 +1,17 @@ +export default function MaintenancePage() { + const message = + process.env.MAINTENANCE_MESSAGE || + 'We are currently performing scheduled maintenance. Please check back soon.'; + + return ( +
{message}
+