Files
immich-magic-proxy/app/src/version.ts
T
2026-10-06 10:07:20 +13:00

8 lines
283 B
TypeScript

import { join } from 'path'
import { resolveAppVersion } from '@ipp/core'
export const APP_VERSION = resolveAppVersion(join(__dirname, '..', 'package.json'))
/** URL-safe cache-busting segment for static asset paths. */
export const ASSET_VERSION = encodeURIComponent(APP_VERSION)