Files
gatehouse-ui/src/config.ts
T

27 lines
579 B
TypeScript
Raw Normal View History

2026-03-06 00:22:57 +05:45
// Secuird Configuration
2026-01-06 15:42:41 +00:00
// Environment-specific settings for the application
// Base URL without /api/v1 suffix - used for CLI sign URL
const BASE_URL = import.meta.env.VITE_API_BASE_URL || "http://192.168.64.7:8888";
2026-01-06 15:42:41 +00:00
export const config = {
// API Configuration
api: {
baseUrl: `${BASE_URL}/api/v1`,
2026-01-06 15:42:41 +00:00
},
// Sign URL for CLI (same as base URL, no /api/v1)
signUrl: BASE_URL,
2026-01-06 15:42:41 +00:00
// App metadata
app: {
2026-03-06 00:22:57 +05:45
name: "Secuird",
2026-01-06 15:45:46 +00:00
description: "Identity & Access Platform",
2026-01-06 15:42:41 +00:00
},
// Feature flags
features: {
devTools: import.meta.env.DEV,
},
} as const;