From b6dec7024a15de29cf15d60bd571f4b10c7a82ea Mon Sep 17 00:00:00 2001 From: iyak Date: Fri, 17 Jan 2025 08:37:14 +0000 Subject: [PATCH] =?UTF-8?q?Global.asax=20=EB=82=B4=20TLS=201.2=20=EC=A0=81?= =?UTF-8?q?=EC=9A=A9?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- FO/Global.asax.cs | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) diff --git a/FO/Global.asax.cs b/FO/Global.asax.cs index d98544c..0796cb4 100644 --- a/FO/Global.asax.cs +++ b/FO/Global.asax.cs @@ -1,4 +1,5 @@ -using System.Web.Mvc; +using System.Net; +using System.Web.Mvc; using System.Web.Routing; using NP.Base.Popbill; using Spring.Web.Mvc; @@ -11,10 +12,11 @@ namespace FO { AreaRegistration.RegisterAllAreas(); FilterConfig.RegisterGlobalFilters(GlobalFilters.Filters); - RouteConfig.RegisterRoutes(RouteTable.Routes); - //BundleConfig.RegisterBundles(BundleTable.Bundles); + RouteConfig.RegisterRoutes(RouteTable.Routes); MvcHandler.DisableMvcResponseHeader = true; PopbillConfig.StartTaxinvoiceService(); + + ServicePointManager.SecurityProtocol = SecurityProtocolType.Tls12; } } -} +} \ No newline at end of file