Catalog
This commit is contained in:
parent
504f431937
commit
cdb9a26d2c
16 changed files with 301 additions and 59 deletions
|
|
@ -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.
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue