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

6 lines
243 B
TypeScript

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