diff --git a/src/controllers/networking.js b/src/controllers/networking.js index 6694488920..c0367a8136 100644 --- a/src/controllers/networking.js +++ b/src/controllers/networking.js @@ -52,6 +52,7 @@ define(["loading", "libraryMenu", "globalize", "emby-checkbox", "emby-select"], config.HttpServerPortNumber = form.querySelector("#txtPortNumber").value; config.EnableUPnP = enableUpnp; config.WanDdns = form.querySelector("#txtDdns").value; + config.BaseUrl = form.querySelector("#txtBaseUrl").value; config.EnableRemoteAccess = form.querySelector("#chkRemoteAccess").checked; config.CertificatePath = form.querySelector("#txtCertificatePath").value || null; config.CertificatePassword = form.querySelector("#txtCertPassword").value || null; @@ -111,6 +112,7 @@ define(["loading", "libraryMenu", "globalize", "emby-checkbox", "emby-select"], config.IsBehindProxy ? selectHttpsMode.value = "proxy" : config.RequireHttps ? selectHttpsMode.value = "required" : config.EnableHttps ? selectHttpsMode.value = "enabled" : selectHttpsMode.value = "disabled"; page.querySelector("#txtHttpsPort").value = config.HttpsPortNumber; page.querySelector("#txtDdns").value = config.WanDdns || ""; + page.querySelector("#txtBaseUrl").value = config.BaseUrl || ""; var txtCertificatePath = page.querySelector("#txtCertificatePath"); txtCertificatePath.value = config.CertificatePath || ""; page.querySelector("#txtCertPassword").value = config.CertificatePassword || ""; diff --git a/src/networking.html b/src/networking.html index 4ea44cee24..e55840482c 100644 --- a/src/networking.html +++ b/src/networking.html @@ -56,6 +56,11 @@