Commit 4465cdc60c1c8c7262eb8d95dabe5e04acc92488

Authored by Harpreet Banwait
1 parent fe484510

..

400-SOURCECODE/AIAHTML5.ADMIN.API/App_Start/WebApiConfig.cs
... ... @@ -18,8 +18,6 @@ namespace AIAHTML5.ADMIN.API
18 18 .Remove(GlobalConfiguration.Configuration.Formatters.XmlFormatter);
19 19  
20 20 // Configure cross domain access
21   - //var cors = new EnableCorsAttribute("http://localhost:4200, http://localhost:4201, http://localhost:91", "*", "*");
22   - //config.EnableCors(cors);
23 21 string Enablecors = ConfigurationManager.AppSettings["Enablecors"];
24 22 if (Enablecors == "false")
25 23 {
... ...