mirror of
https://github.com/Caraxi/mare.server.git
synced 2025-12-12 19:17:22 +01:00
fix _isMainServer verification
This commit is contained in:
parent
02353d5ebe
commit
3756fef498
1 changed files with 1 additions and 1 deletions
|
|
@ -22,7 +22,7 @@ public class FileCleanupService : IHostedService
|
|||
_logger = logger;
|
||||
_services = services;
|
||||
_configuration = configuration.GetRequiredSection("MareSynchronos");
|
||||
_isMainServer = !string.IsNullOrEmpty(_configuration.GetValue("RemoteCacheSource", string.Empty));
|
||||
_isMainServer = string.IsNullOrEmpty(_configuration.GetValue("RemoteCacheSource", string.Empty));
|
||||
_cacheDir = _configuration.GetValue<string>("CacheDirectory");
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue