mirror of
https://github.com/immich-app/immich
synced 2025-11-07 17:27:20 +00:00
Use runtime env var for login page message to lower web container startup time (#577)
* Use runtime env var for loginPageMessage * Rename VITE_LOGIN_PAGE_MESSAGE to PUBLIC_LOGIN_PAGE_MESSAGE in .env.example * Move docker image `npm run build` step into Dockerfile * Remove comment from web Dockerfile
This commit is contained in:
parent
a81ef7497c
commit
564ace3ddf
4 changed files with 6 additions and 7 deletions
|
|
@ -1 +1,2 @@
|
|||
export const loginPageMessage: string = import.meta.env.VITE_LOGIN_PAGE_MESSAGE;
|
||||
import { env } from '$env/dynamic/public';
|
||||
export const loginPageMessage: string = env.PUBLIC_LOGIN_PAGE_MESSAGE;
|
||||
Loading…
Add table
Add a link
Reference in a new issue