diff --git a/400-SOURCECODE/AIAHTML5.ADMIN.API/App_Start/WebApiConfig.cs b/400-SOURCECODE/AIAHTML5.ADMIN.API/App_Start/WebApiConfig.cs index 2cfc653..4461506 100644 --- a/400-SOURCECODE/AIAHTML5.ADMIN.API/App_Start/WebApiConfig.cs +++ b/400-SOURCECODE/AIAHTML5.ADMIN.API/App_Start/WebApiConfig.cs @@ -18,8 +18,6 @@ namespace AIAHTML5.ADMIN.API .Remove(GlobalConfiguration.Configuration.Formatters.XmlFormatter); // Configure cross domain access - //var cors = new EnableCorsAttribute("http://localhost:4200, http://localhost:4201, http://localhost:91", "*", "*"); - //config.EnableCors(cors); string Enablecors = ConfigurationManager.AppSettings["Enablecors"]; if (Enablecors == "false") {