Commit 335a8cfaa7246cab26c8752b99761c6cb3549f52
1 parent
fa970934
merged AIAAdminApi
Showing
3 changed files
with
3 additions
and
4 deletions
400-SOURCECODE/AIAHTML5.ADMIN.API/Controllers/DiscountCodeController.cs
@@ -17,7 +17,7 @@ using AIAHTML5.ADMIN.API.Entity; | @@ -17,7 +17,7 @@ using AIAHTML5.ADMIN.API.Entity; | ||
17 | namespace AIAHTML5.ADMIN.API.Controllers | 17 | namespace AIAHTML5.ADMIN.API.Controllers |
18 | { | 18 | { |
19 | 19 | ||
20 | - [EnableCors(origins: "http://localhost:4200", headers: "*", methods: "*")] | 20 | + //[EnableCors(origins: "http://localhost:4200", headers: "*", methods: "*")] |
21 | [RoutePrefix("DiscountCode")] | 21 | [RoutePrefix("DiscountCode")] |
22 | public class DiscountCodeController : ApiController | 22 | public class DiscountCodeController : ApiController |
23 | { | 23 | { |
400-SOURCECODE/AIAHTML5.ADMIN.API/Controllers/SubscriptionPriceController.cs
@@ -17,7 +17,7 @@ using AIAHTML5.ADMIN.API.Entity; | @@ -17,7 +17,7 @@ using AIAHTML5.ADMIN.API.Entity; | ||
17 | namespace AIAHTML5.ADMIN.API.Controllers | 17 | namespace AIAHTML5.ADMIN.API.Controllers |
18 | { | 18 | { |
19 | 19 | ||
20 | - [EnableCors(origins: "http://localhost:4200", headers: "*", methods: "*")] | 20 | + //[EnableCors(origins: "http://localhost:4200", headers: "*", methods: "*")] |
21 | [RoutePrefix("SubscriptionPrice")] | 21 | [RoutePrefix("SubscriptionPrice")] |
22 | public class SubscriptionPriceController : ApiController | 22 | public class SubscriptionPriceController : ApiController |
23 | { | 23 | { |
400-SOURCECODE/AIAHTML5.ADMIN.API/Controllers/UserController.cs
@@ -16,8 +16,7 @@ using AIAHTML5.ADMIN.API.Entity; | @@ -16,8 +16,7 @@ using AIAHTML5.ADMIN.API.Entity; | ||
16 | 16 | ||
17 | namespace AIAHTML5.ADMIN.API.Controllers | 17 | namespace AIAHTML5.ADMIN.API.Controllers |
18 | { | 18 | { |
19 | - //this is for cross domain | ||
20 | - [EnableCors(origins: "http://localhost:4200", headers: "*", methods: "*")] | 19 | + //[EnableCors(origins: "http://localhost:4200", headers: "*", methods: "*")] |
21 | [RoutePrefix("User")] | 20 | [RoutePrefix("User")] |
22 | public class UserController : ApiController | 21 | public class UserController : ApiController |
23 | { | 22 | { |