diff options
author | Aryadev Chavali <aryadevchavali1@gmail.com> | 2019-02-21 15:30:36 +0000 |
---|---|---|
committer | Aryadev Chavali <aryadevchavali1@gmail.com> | 2019-02-21 15:30:36 +0000 |
commit | 450bcb83ee18e78941324657c0e471f8b5e6ffb4 (patch) | |
tree | da3912a015b574d683d43ca7fd75b73d52794f4f /Main | |
parent | f5ddfe485a669dbc2f9958271aa1a6f4cfe06a6b (diff) | |
download | newsaggregator-450bcb83ee18e78941324657c0e471f8b5e6ffb4.tar.gz newsaggregator-450bcb83ee18e78941324657c0e471f8b5e6ffb4.tar.bz2 newsaggregator-450bcb83ee18e78941324657c0e471f8b5e6ffb4.zip |
Removed unnecessary tags
Diffstat (limited to 'Main')
-rw-r--r-- | Main/Startup.cs | 11 |
1 files changed, 3 insertions, 8 deletions
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"
|