Skip to content

High performance self-hosted photo and video management solution.

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

Rizwan06c8d5a18310
diff --git a/web/svelte.config.js b/web/svelte.config.js
index 8dcc4df3ed..65d4d4bf43 100644
--- a/web/svelte.config.js
+++ b/web/svelte.config.js
@@ -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,