Commit 9b6ca4906fdc4902e26401df6f0d2bc5f8f5fda5
1 parent
ef6e1062
In this push, we have admin code. Mereg request was not raised so merged manually
Showing
1 changed file
with
1 additions
and
0 deletions
400-SOURCECODE/AIAHTML5.ADMIN.API/Controllers/UserController.cs
@@ -16,6 +16,7 @@ using AIAHTML5.ADMIN.API.Entity; | @@ -16,6 +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 | ||
19 | [EnableCors(origins: "http://localhost:4200", headers: "*", methods: "*")] | 20 | [EnableCors(origins: "http://localhost:4200", headers: "*", methods: "*")] |
20 | [RoutePrefix("User")] | 21 | [RoutePrefix("User")] |
21 | public class UserController : ApiController | 22 | public class UserController : ApiController |