aboutsummaryrefslogtreecommitdiff
path: root/Main/Startup.cs
diff options
context:
space:
mode:
Diffstat (limited to 'Main/Startup.cs')
-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"
+ )
+ );
}
}
}