diff --git a/Logic/Support/SystemSettings.cs b/Logic/Support/SystemSettings.cs
index 8ac268ea..5ef77dd9 100644
--- a/Logic/Support/SystemSettings.cs
+++ b/Logic/Support/SystemSettings.cs
@@ -71,6 +71,12 @@ namespace Swarmops.Logic.Support
}
}
+ static public string WebsocketHostname
+ {
+ get { return Persistence.Key["WebsocketHostname"]; }
+ set { Persistence.Key["WebsocketHostname"] = value; }
+ }
+
static public int WebsocketPortServer
{
get { return Int32.Parse(GetDefaultedPersistedKey("WebsocketPortServer", "12172")); }
diff --git a/Site5/App_GlobalResources/Pages.Admin.resx b/Site5/App_GlobalResources/Pages.Admin.resx
index d283a0a9..ddaf2ecb 100644
--- a/Site5/App_GlobalResources/Pages.Admin.resx
+++ b/Site5/App_GlobalResources/Pages.Admin.resx
@@ -271,6 +271,9 @@
You really, really, REALLY should use HTTPS for a website like this. But you knew that already, didn't you?
+
+ WebSocket Hostname
+
WebSocket Port (Client)
diff --git a/Site5/Pages/v5/Admin/SystemSettings.aspx b/Site5/Pages/v5/Admin/SystemSettings.aspx
index 1c038bf4..90a286ff 100644
--- a/Site5/Pages/v5/Admin/SystemSettings.aspx
+++ b/Site5/Pages/v5/Admin/SystemSettings.aspx
@@ -40,6 +40,7 @@
+
@@ -49,6 +50,7 @@
+
diff --git a/Site5/Pages/v5/Admin/SystemSettings.aspx.cs b/Site5/Pages/v5/Admin/SystemSettings.aspx.cs
index d6ed9226..029f4ca6 100644
--- a/Site5/Pages/v5/Admin/SystemSettings.aspx.cs
+++ b/Site5/Pages/v5/Admin/SystemSettings.aspx.cs
@@ -37,6 +37,7 @@ namespace Swarmops.Frontend.Pages.v5.Admin
this.TextInstallationName.Text = SystemSettings.InstallationName;
this.TextAdminAddress.Text = SystemSettings.AdminNotificationAddress;
this.TextAdminSender.Text = SystemSettings.AdminNotificationSender;
+ this.TextWebsocketHostname.Text = SystemSettings.WebsocketHostname;
this.TextWebsocketPortServer.Text = SystemSettings.WebsocketPortServer.ToString(CultureInfo.InvariantCulture);
this.TextWebsocketPortClient.Text = SystemSettings.WebsocketPortClient.ToString(CultureInfo.InvariantCulture);
@@ -139,6 +140,7 @@ namespace Swarmops.Frontend.Pages.v5.Admin
this.LabelInstallationName.Text = Resources.Pages.Admin.SystemSettings_InstallationName;
this.LabelAdminAddress.Text = Resources.Pages.Admin.SystemSettings_AdminAddress;
this.LabelAdminSender.Text = Resources.Pages.Admin.SystemSettings_AdminSender;
+ this.LabelWebsocketHostname.Text = Resources.Pages.Admin.SystemSettings_WebsocketHostname;
this.LabelWebsocketPortServer.Text = Resources.Pages.Admin.SystemSettings_WebsocketPortServer;
this.LabelWebsocketPortClient.Text = Resources.Pages.Admin.SystemSettings_WebsocketPortClient;
}