fix(web): use deterministic version name in svelte config (#29172)

This commit is contained in:
Rizwan
2026-06-17 22:12:26 +05:30
committed by GitHub
parent ad9817c582
commit 06c8d5a183

View File

@@ -16,7 +16,7 @@ const config = {
preprocess: vitePreprocess(),
kit: {
version: {
name: process.env.IMMICH_BUILD || Date.now().toString(),
name: process.env.IMMICH_BUILD || process.env.npm_package_version || 'local',
},
paths: {
relative: false,