import { defineEnvVars } from '@sveltejs/kit/env'; /** The app's environment, read when the server starts (server-only, never inlined). */ export const variables = defineEnvVars({ STARFLEET_API_URL: { description: 'Base URL of the Starfleet game API.', schema: (value) => (value || 'https://starfleet.glo.quebec').replace(/\/+$/, '') }, STARFLEET_UI_VERSION: { description: 'Version this build serves (the image tag, a commit id); /healthz answers it.', schema: (value) => value || 'dev' } });