2026-06-15 00:06:57 +02:00
|
|
|
// Build info baked into the SPA at build time (Vite inlines VITE_*-prefixed env).
|
|
|
|
|
// Injected via Docker build-args (see Dockerfile); falls back to "dev" for un-stamped builds.
|
2026-06-26 03:30:19 +02:00
|
|
|
import { LS } from "./storage";
|
|
|
|
|
|
2026-06-15 00:30:34 +02:00
|
|
|
export const FRONTEND_VERSION = import.meta.env.VITE_APP_VERSION || "dev";
|
|
|
|
|
export const FRONTEND_SHA = import.meta.env.VITE_GIT_SHA || "unknown";
|
|
|
|
|
export const FRONTEND_BUILD_DATE = import.meta.env.VITE_BUILD_DATE || "";
|
2026-06-15 00:06:57 +02:00
|
|
|
|
|
|
|
|
// Key for the "last version the user has seen release notes for" (drives the banner).
|
2026-06-26 03:30:19 +02:00
|
|
|
export const SEEN_VERSION_KEY = LS.seenVersion;
|