From 984cdcd6fbb16d750744aed9cba68508e91eb998 Mon Sep 17 00:00:00 2001 From: Aryadev Chavali Date: Mon, 18 Feb 2019 16:57:31 +0000 Subject: Linked up website to website project --- Main/Startup.cs | 7 +++++++ 1 file changed, 7 insertions(+) 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" + ) + ); } } } -- cgit v1.2.3-13-gbd6f