mirror of
https://github.com/RaidMax/IW4M-Admin.git
synced 2025-06-10 15:20:48 -05:00
fixed the vpn detection plugin method signature call
added some fixes for stats/ac
This commit is contained in:
@ -20,7 +20,7 @@ namespace WebfrontCore
|
||||
public Startup(IHostingEnvironment env)
|
||||
{
|
||||
var builder = new ConfigurationBuilder()
|
||||
.SetBasePath(env.ContentRootPath)
|
||||
// .SetBasePath(SharedLibraryCore.Utilities.OperatingDirectory)
|
||||
.AddEnvironmentVariables();
|
||||
|
||||
Configuration = builder.Build();
|
||||
@ -32,10 +32,10 @@ namespace WebfrontCore
|
||||
public void ConfigureServices(IServiceCollection services)
|
||||
{
|
||||
// Add framework services.
|
||||
var mvcBulder = services.AddMvc();
|
||||
var mvcBuilder = services.AddMvc();
|
||||
|
||||
foreach (var asm in Program.Manager.GetPluginAssemblies())
|
||||
mvcBulder.AddApplicationPart(asm);
|
||||
mvcBuilder.AddApplicationPart(asm);
|
||||
|
||||
services.Configure<RazorViewEngineOptions>(o =>
|
||||
{
|
||||
|
Reference in New Issue
Block a user