starfleet-ui
Clone avec HTTPS, un jeton personnel en mot de passe, ou avec SSH, une clé ajoutée dans vos paramètres.
Dernier runRéussi#6 · main · 2 min 01 s
0Étoiles
0Forks
0Issues
| 1 | import { defineEnvVars } from '@sveltejs/kit/env'; |
| 2 | |
| 3 | /** The app's environment, read when the server starts (server-only, never inlined). */ |
| 4 | export const variables = defineEnvVars({ |
| 5 | STARFLEET_API_URL: { |
| 6 | description: 'Base URL of the Starfleet game API.', |
| 7 | schema: (value) => (value || 'https://starfleet.glo.quebec').replace(/\/+$/, '') |
| 8 | }, |
| 9 | STARFLEET_UI_VERSION: { |
| 10 | description: 'Version this build serves (the image tag, a commit id); /healthz answers it.', |
| 11 | schema: (value) => value || 'dev' |
| 12 | } |
| 13 | }); |