mirror of
https://github.com/Sandoun/DynDNSv2.git
synced 2025-12-06 02:41:24 +00:00
Name fix
- update readme
This commit is contained in:
@@ -63,7 +63,7 @@ internal class Updater : BackgroundService
|
||||
int i = 1;
|
||||
while(true)
|
||||
{
|
||||
var found = Environment.GetEnvironmentVariable($"UPDATE_URL_{i}");
|
||||
var found = Environment.GetEnvironmentVariable($"UPDATE_DOMAIN_{i}");
|
||||
|
||||
if(!string.IsNullOrEmpty(found))
|
||||
{
|
||||
@@ -78,7 +78,7 @@ internal class Updater : BackgroundService
|
||||
}
|
||||
|
||||
if(updateLst.Count <= 0)
|
||||
throw new Exception("No UPDATE_URL_[N] env variable found, pleace specify one with UPDATE_URL_1, UPDATE_URL_2 ...");
|
||||
throw new Exception("No UPDATE_DOMAIN_[N] env variable found, pleace specify one with UPDATE_DOMAIN_1, UPDATE_DOMAIN_2 ...");
|
||||
|
||||
updateDomains = updateLst.ToArray();
|
||||
|
||||
|
||||
Reference in New Issue
Block a user