Skip to content

Kavita is a fast, feature rich, cross platform reading server. Built with the goal of being a full solution for all your reading needs. Setup your own server and share your reading collection with your friends and family.

Default to empty string for IpAddress to allow to fallback into existing experience (#1859)

Robbie Davisa491de0a049b
diff --git a/Kavita.Common/Configuration.cs b/Kavita.Common/Configuration.cs
index 560c1cebd..96a15fb0f 100644
--- a/Kavita.Common/Configuration.cs
+++ b/Kavita.Common/Configuration.cs
@@ -177,7 +177,7 @@ public static class Configuration
{
if (new OsInfo(Array.Empty<IOsVersionAdapter>()).IsDocker)
{
- return DefaultIPAddresses;
+ return string.Empty;
}
try
@@ -196,7 +196,7 @@ public static class Configuration
Console.WriteLine("Error writing app settings: " + ex.Message);
}
- return DefaultIPAddresses;
+ return string.Empty;
}
#endregion