Skip to content

Commit

Permalink
change default.cshtml to use static default.html cause Razor fails co…
Browse files Browse the repository at this point in the history
…mpiling remotely
  • Loading branch information
mythz committed Aug 18, 2019
1 parent cf0ccd3 commit 6bbcf0d
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 6 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
@inherits ViewPage
<!DOCTYPE html>
<!DOCTYPE html>
<!--[if lt IE 7]> <html lang="en" ng-app="techStackApp" class="no-js lt-ie9 lt-ie8 lt-ie7"> <![endif]-->
<!--[if IE 7]> <html lang="en" ng-app="techStackApp" class="no-js lt-ie9 lt-ie8"> <![endif]-->
<!--[if IE 8]> <html lang="en" ng-app="techStackApp" class="no-js lt-ie9"> <![endif]-->
Expand Down

0 comments on commit 6bbcf0d

Please sign in to comment.