From 15c38fb650bb437c121c666cf1c5c4cda6483640 Mon Sep 17 00:00:00 2001 From: James Kolpack Date: Thu, 16 Jul 2020 22:36:57 -0400 Subject: [PATCH] Move results download to an iis rule --- WebCms/App_Start/RegisterServices.cs | 7 ------- WebCms/Web.config | 4 ++++ 2 files changed, 4 insertions(+), 7 deletions(-) diff --git a/WebCms/App_Start/RegisterServices.cs b/WebCms/App_Start/RegisterServices.cs index 498fb80..02506a2 100644 --- a/WebCms/App_Start/RegisterServices.cs +++ b/WebCms/App_Start/RegisterServices.cs @@ -21,13 +21,6 @@ namespace LeafWeb.WebCms.App_Start HangfireBootstrapper.Instance.Start(); BackloadBundles.RegisterBundles(BundleTable.Bundles); - - // route for downloading results, see also URL rewrite rules in web.config - RouteTable.Routes.MapRoute( - "ResultsDownload", // Route name - "Results/Download", // URL with parameters - new { controller = "Results", action = "Download" } // Parameter defaults - ); base.ApplicationStarted(umbracoApplication, applicationContext); } diff --git a/WebCms/Web.config b/WebCms/Web.config index 72d05dd..96a0669 100644 --- a/WebCms/Web.config +++ b/WebCms/Web.config @@ -349,6 +349,10 @@ + + + +