2026-03-06 00:22:57 +05:45
|
|
|
// Secuird Configuration
|
2026-01-06 15:42:41 +00:00
|
|
|
// Environment-specific settings for the application
|
|
|
|
|
|
2026-04-06 01:57:40 +09:30
|
|
|
// 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: {
|
2026-04-06 01:57:40 +09:30
|
|
|
baseUrl: `${BASE_URL}/api/v1`,
|
2026-01-06 15:42:41 +00:00
|
|
|
},
|
|
|
|
|
|
2026-04-06 01:57:40 +09:30
|
|
|
// 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;
|