diff --git a/.env.example b/.env.example index 54c522f..292d6dd 100644 --- a/.env.example +++ b/.env.example @@ -1 +1,19 @@ -VITE_API_BASE_URL=http://localhost:5000 +# =========================================== +# Secuird UI Configuration +# =========================================== +# Copy this file to .env.local for local development +# or use mode-specific env files (.env.development, .env.staging, .env.production) + +# API Configuration +VITE_API_BASE_URL=https://api.gatehouse.local/api/v1 + +# Theme Configuration +# Options: default (teal), dev (red), preprod (purple) +VITE_THEME=default + +# Optional: Override app name and favicon +# VITE_APP_NAME=Secuird +# VITE_FAVICON=/favicon.svg + +# Host Configuration +VITE_ALLOWED_HOSTS=ui.gatehouse.local,localhost \ No newline at end of file diff --git a/index.html b/index.html index 76ab5db..c3f389b 100644 --- a/index.html +++ b/index.html @@ -5,37 +5,37 @@ -
Enterprise identity and access management. Secure by design, simple by choice.
diff --git a/src/components/layouts/MfaEnforcementLayout.tsx b/src/components/layouts/MfaEnforcementLayout.tsx
index 6b4d260..3eb62d5 100644
--- a/src/components/layouts/MfaEnforcementLayout.tsx
+++ b/src/components/layouts/MfaEnforcementLayout.tsx
@@ -4,6 +4,7 @@ import { Shield, Smartphone, Fingerprint, AlertTriangle, CheckCircle, Loader2 }
import { Button } from '@/components/ui/button';
import { Card, CardContent, CardDescription, CardHeader, CardTitle } from '@/components/ui/card';
import { useAuth } from '@/contexts/AuthContext';
+import { config } from '@/config';
import { AddPasskeyWizard } from '@/components/security/AddPasskeyWizard';
import { TotpEnrollmentWizard } from '@/components/security/TotpEnrollmentWizard';
import { api } from '@/lib/api';
@@ -98,7 +99,7 @@ export default function MfaEnforcementLayout() {