From 450bcb83ee18e78941324657c0e471f8b5e6ffb4 Mon Sep 17 00:00:00 2001 From: Aryadev Chavali Date: Thu, 21 Feb 2019 15:30:36 +0000 Subject: Removed unnecessary tags --- Main/Startup.cs | 11 +++-------- 1 file changed, 3 insertions(+), 8 deletions(-) (limited to 'Main') diff --git a/Main/Startup.cs b/Main/Startup.cs index 2722747..24f2a74 100644 --- a/Main/Startup.cs +++ b/Main/Startup.cs @@ -1,6 +1,4 @@ -using System; using System.IO; -using System.Collections.Generic; using Microsoft.AspNetCore.Builder; using Microsoft.AspNetCore.Hosting; @@ -9,13 +7,10 @@ using Microsoft.Extensions.FileProviders; using Microsoft.Extensions.Configuration; using Microsoft.Extensions.DependencyInjection; using Microsoft.EntityFrameworkCore; -using Microsoft.EntityFrameworkCore.Metadata; + using Hangfire; using Hangfire.MySql.Core; - -using Classes; using Database; -using Aggregator.Parser; namespace Server { public class Startup { @@ -47,10 +42,10 @@ namespace Server { app.UseHsts(); } - app.UseDefaultFiles(); + // app.UseDefaultFiles(); string website_path = Path.Combine( Directory.GetParent(Directory.GetCurrentDirectory()).ToString(), - "Website"); + "Website/"); app.UseStaticFiles(new StaticFileOptions { FileProvider = new PhysicalFileProvider(website_path), RequestPath = "/test" -- cgit v1.2.3-13-gbd6f