diff --git a/src/TechStacks/TechStacks.ServiceInterface/ClientRoutesService.cs b/src/TechStacks/TechStacks.ServiceInterface/ClientRoutesService.cs index 8bbf43b..1698aa0 100644 --- a/src/TechStacks/TechStacks.ServiceInterface/ClientRoutesService.cs +++ b/src/TechStacks/TechStacks.ServiceInterface/ClientRoutesService.cs @@ -56,10 +56,7 @@ public object Any(FallbackForClientRoutes request) public object AngularJsApp() { //Return default.cshtml for unmatched requests so routing is handled on the client - return new HttpResult - { - View = "/default.cshtml" - }; + return new HttpResult(VirtualFileSources.GetFile("/default.html")); } public object Any(ClientAllTechnologyStacks request) diff --git a/src/TechStacks/TechStacks/default.cshtml b/src/TechStacks/TechStacks/default.html similarity index 99% rename from src/TechStacks/TechStacks/default.cshtml rename to src/TechStacks/TechStacks/default.html index 2d927d2..09174bf 100644 --- a/src/TechStacks/TechStacks/default.cshtml +++ b/src/TechStacks/TechStacks/default.html @@ -1,5 +1,4 @@ -@inherits ViewPage - +