mirror of
https://github.com/opensim/opensim.git
synced 2026-08-09 18:55:58 +08:00
pesty warning
This commit is contained in:
@@ -47,7 +47,6 @@ namespace OpenSim.Framework.Capabilities
|
||||
private IHttpServer m_httpListener;
|
||||
private string m_httpListenerHostName;
|
||||
private uint m_httpListenerPort;
|
||||
private bool m_useSSL = false;
|
||||
private readonly string m_baseURL;
|
||||
|
||||
/// <summary></summary>
|
||||
@@ -64,15 +63,9 @@ namespace OpenSim.Framework.Capabilities
|
||||
m_httpListenerHostName = httpListenerHostname;
|
||||
m_httpListenerPort = httpListenerPort;
|
||||
if (httpListener != null && httpListener.UseSSL)
|
||||
{
|
||||
m_useSSL = true;
|
||||
m_baseURL = $"https://{m_httpListenerHostName}:{m_httpListenerPort}";
|
||||
}
|
||||
else
|
||||
{
|
||||
m_useSSL = false;
|
||||
m_baseURL = $"http://{m_httpListenerHostName}:{m_httpListenerPort}";
|
||||
}
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
|
||||
Reference in New Issue
Block a user