mirror of
https://github.com/aljazceru/btcpayserver.git
synced 2025-12-17 22:14:26 +01:00
Adjusted mechanism for setting https binding configuration option (#372)
* Adjusted mechanism for setting https binding configuration option. * Modified the https binding logic to use default bind and port options. * Removed dedicated https certification config properties and instead used direct access via setting name.
This commit is contained in:
committed by
Nicolas Dorier
parent
88044f6b76
commit
24623c59d7
@@ -37,6 +37,8 @@ namespace BTCPayServer.Configuration
|
||||
}
|
||||
else if (typeof(T) == typeof(string))
|
||||
return (T)(object)str;
|
||||
else if (typeof(T) == typeof(IPAddress))
|
||||
return (T)(object)IPAddress.Parse(str);
|
||||
else if (typeof(T) == typeof(IPEndPoint))
|
||||
{
|
||||
var separator = str.LastIndexOf(":", StringComparison.InvariantCulture);
|
||||
|
||||
Reference in New Issue
Block a user