mirror of
https://git.vectorsigma.ru/public/photoview.git
synced 2026-08-03 20:49:02 +00:00
Refactor handling of environment variables
This commit is contained in:
@@ -13,6 +13,9 @@ PHOTOVIEW_LISTEN_PORT=4001
|
||||
PHOTOVIEW_API_ENDPOINT=http://localhost:4001/
|
||||
PHOTOVIEW_UI_ENDPOINT=http://localhost:1234/
|
||||
|
||||
# Path where media should be cached, defaults to ./media_cache
|
||||
# PHOTOVIEW_MEDIA_CACHE=./media_cache
|
||||
|
||||
# Set to 1 for the server to also serve the built static ui files
|
||||
PHOTOVIEW_SERVE_UI=0
|
||||
# When PHOTOVIEW_SERVE_UI is 1, PHOTOVIEW_PUBLIC_ENDPOINT is used instead of PHOTOVIEW_API_ENDPOINT and PHOTOVIEW_UI_ENDPOINT
|
||||
|
||||
Reference in New Issue
Block a user