diff --git a/gateway/API.Gateway.csproj b/gateway/API.Gateway.csproj
index b483fa7..d7968fa 100644
--- a/gateway/API.Gateway.csproj
+++ b/gateway/API.Gateway.csproj
@@ -13,4 +13,10 @@
+
+
+ Always
+
+
+
diff --git a/gateway/Startup.cs b/gateway/Startup.cs
index fa2cc15..5453c50 100644
--- a/gateway/Startup.cs
+++ b/gateway/Startup.cs
@@ -6,6 +6,7 @@ using Microsoft.Extensions.Hosting;
using Microsoft.IdentityModel.Tokens;
using Ocelot.DependencyInjection;
using Ocelot.Middleware;
+using System.IO;
namespace OnlineAssessment.Gateway
{
@@ -43,36 +44,41 @@ namespace OnlineAssessment.Gateway
public string GetIndexPage()
{
- string indexPage = @"
-
-

+ using (var reader = new StreamReader("index.html"))
+ {
+ string indexFileContent = reader.ReadToEnd();
+ return indexFileContent;
+ }
+ //string indexPage = @"
+ //
+ //

-
API Gateway (Online Assessment)
-
- ";
- return indexPage;
+ //
+ //
+ // ";
+ //return indexPage;
}
}
}
diff --git a/gateway/index.html b/gateway/index.html
index 7df9d8c..e1c1cd2 100644
--- a/gateway/index.html
+++ b/gateway/index.html
@@ -5,27 +5,35 @@
Odiware Technologies - API Gateway
-
-
+
+

+
+
API Gateway (Online Assessment)
+