Catalog
This commit is contained in:
@ -71,10 +71,12 @@ namespace isnd
|
||||
var config = s.GetRequiredService<IOptions<UnleashClientSettings>>();
|
||||
return s.GetRequiredService<Microsoft.AspNetCore.Hosting.IHostingEnvironment>().CreateUnleahClient(config.Value);
|
||||
});
|
||||
services.AddSingleton<IPackageManager, PackageManager>();
|
||||
|
||||
// _unleashĈlient = env.CreateUnleahClient(unleashClientSettings.Value);
|
||||
var smtpSettingsconf = Configuration.GetSection("Smtp");
|
||||
services.Configure<SmtpSettings>(smtpSettingsconf);
|
||||
var isndSettingsconf = Configuration.GetSection("Nuget");
|
||||
var isndSettingsconf = Configuration.GetSection("Isn");
|
||||
services.Configure<IsndSettings>(isndSettingsconf);
|
||||
var adminStartupListConf = Configuration.GetSection("AdminList");
|
||||
services.Configure<AdminStartupList>(adminStartupListConf);
|
||||
@ -85,6 +87,7 @@ namespace isnd
|
||||
|
||||
|
||||
public static IUnleash UnleashĈlient { get; private set; }
|
||||
public static string ExternalAddress { get; internal set; }
|
||||
|
||||
|
||||
// This method gets called by the runtime. Use this method to configure the HTTP request pipeline.
|
||||
|
Reference in New Issue
Block a user