Files
private_image/frontend/src/vite-env.d.ts
T
nobswebdev 5f6ee193e7 Configure share link origins from clearnet scheme and onion hostname.
Lets the frontend build full viewer and delete URLs for both networks without hardcoding host shape in components.
2026-10-25 22:00:05 +01:00

18 lines
550 B
TypeScript

/// <reference types="vite/client" />
interface ImportMetaEnv {
readonly VITE_API_BASE_URL: string;
readonly VITE_CLEARNET_SCHEME: string;
readonly VITE_CLEARNET_DOMAIN: string;
readonly VITE_ONION_HOSTNAME: string;
readonly VITE_ALTCHA_ENABLED: string;
readonly VITE_ALTCHA_MAX_NUMBER: string;
readonly VITE_UPLOAD_MAX_QUEUE_SIZE: string;
readonly VITE_VALIDATION_UPLOAD_MAX_VIEWS_MAX: string;
readonly VITE_VALIDATION_UPLOAD_MAX_IMAGE_BYTES: string;
}
interface ImportMeta {
readonly env: ImportMetaEnv;
}