mirror of
https://github.com/BililiveRecorder/BililiveRecorder.git
synced 2024-11-15 19:22:19 +08:00
parent
d32ebb9748
commit
afae6d0be7
|
@ -231,7 +231,7 @@ namespace BililiveRecorder.Cli
|
|||
services.AddSingleton(new BasicAuthCredential(sharedArguments.HttpBasicUser ?? string.Empty, sharedArguments.HttpBasicPass ?? string.Empty));
|
||||
}
|
||||
|
||||
if (!sharedArguments.HttpOpenAccess && Environment.GetEnvironmentVariable("BREC_HTTP_OPEN_ACCESS") is not null){
|
||||
if (sharedArguments.HttpOpenAccess || Environment.GetEnvironmentVariable("BREC_HTTP_OPEN_ACCESS") is not null){
|
||||
services.AddSingleton(new DisableOpenAccessWarningConfig());
|
||||
}
|
||||
})
|
||||
|
|
Loading…
Reference in New Issue
Block a user