aboutsummaryrefslogtreecommitdiff
path: root/Main
diff options
context:
space:
mode:
authorAryadev Chavali <aryadevchavali1@gmail.com>2019-02-18 16:57:31 +0000
committerAryadev Chavali <aryadevchavali1@gmail.com>2019-02-18 16:57:31 +0000
commit984cdcd6fbb16d750744aed9cba68508e91eb998 (patch)
treec5b1e15793deb82507020095524412b39df5da6b /Main
parent4e21482bf6dd987f1df5f25743bd935986fdbd8e (diff)
downloadnewsaggregator-984cdcd6fbb16d750744aed9cba68508e91eb998.tar.gz
newsaggregator-984cdcd6fbb16d750744aed9cba68508e91eb998.tar.bz2
newsaggregator-984cdcd6fbb16d750744aed9cba68508e91eb998.zip
Linked up website to website project
Diffstat (limited to 'Main')
-rw-r--r--Main/Startup.cs7
1 files changed, 7 insertions, 0 deletions
diff --git a/Main/Startup.cs b/Main/Startup.cs
index 7314290..7f615fd 100644
--- a/Main/Startup.cs
+++ b/Main/Startup.cs
@@ -1,4 +1,5 @@
using System;
+using System.IO;
using System.Collections.Generic;
using Microsoft.AspNetCore.Builder;
@@ -42,6 +43,12 @@ namespace Server {
}
app.UseDefaultFiles();
+ app.UseStaticFiles(
+ Path.Combine(
+ Directory.GetParent(Directory.GetCurrentDirectory()).ToString(),
+ "Website"
+ )
+ );
}
}
}