mirror of
https://github.com/Kareadita/Kavita.git
synced 2025-07-09 03:04:19 -04:00
Default to empty string for IpAddress to allow to fallback into existing experience (#1859)
Co-authored-by: Joseph Milazzo <joseph.v.milazzo@gmail.com>
This commit is contained in:
parent
f85e131af9
commit
a491de0a04
@ -177,7 +177,7 @@ public static class Configuration
|
|||||||
{
|
{
|
||||||
if (new OsInfo(Array.Empty<IOsVersionAdapter>()).IsDocker)
|
if (new OsInfo(Array.Empty<IOsVersionAdapter>()).IsDocker)
|
||||||
{
|
{
|
||||||
return DefaultIPAddresses;
|
return string.Empty;
|
||||||
}
|
}
|
||||||
|
|
||||||
try
|
try
|
||||||
@ -196,7 +196,7 @@ public static class Configuration
|
|||||||
Console.WriteLine("Error writing app settings: " + ex.Message);
|
Console.WriteLine("Error writing app settings: " + ex.Message);
|
||||||
}
|
}
|
||||||
|
|
||||||
return DefaultIPAddresses;
|
return string.Empty;
|
||||||
}
|
}
|
||||||
#endregion
|
#endregion
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user