update values for snap and offset

fix some issues from .NET Core 3.0 upgrade
This commit is contained in:
RaidMax
2019-10-07 10:26:07 -05:00
parent c4e0b0272c
commit 068e943fd3
14 changed files with 1522 additions and 265 deletions

View File

@ -13,7 +13,6 @@ namespace WebfrontCore
{
public class Startup
{
private readonly IWebHostEnvironment _appHost;
public static IConfigurationRoot Configuration { get; private set; }
public Startup(IWebHostEnvironment env)
@ -22,8 +21,6 @@ namespace WebfrontCore
.AddEnvironmentVariables();
Configuration = builder.Build();
_appHost = env;
}
// This method gets called by the runtime. Use this method to add services to the container.
@ -112,6 +109,7 @@ namespace WebfrontCore
app.UseStaticFiles();
app.UseAuthentication();
app.UseAuthorization();
app.UseCors("AllowAll");
app.UseRouting();