mealie: set the correct port in BASE_URL
Otherwise it would default to port 8080, which breaks generated links when `cfg.port` is set to another port.
This commit is contained in:
committed by
James Atkins
parent
fc81ca6408
commit
fad7ecc30f
@@ -59,6 +59,7 @@ in
|
||||
PRODUCTION = "true";
|
||||
ALEMBIC_CONFIG_FILE="${pkg}/config/alembic.ini";
|
||||
API_PORT = toString cfg.port;
|
||||
BASE_URL = "http://localhost:${cfg.port}";
|
||||
DATA_DIR = "/var/lib/mealie";
|
||||
CRF_MODEL_PATH = "/var/lib/mealie/model.crfmodel";
|
||||
} // (builtins.mapAttrs (_: val: toString val) cfg.settings);
|
||||
|
||||
Reference in New Issue
Block a user