Skip to content

Commit

Permalink
VP-1126: remove EnableCors attribute (#126)
Browse files Browse the repository at this point in the history
  • Loading branch information
AliveMen authored and yecli committed Dec 16, 2019
1 parent 2a42f9e commit c59a8d2
Showing 1 changed file with 0 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,6 @@
using System.Threading.Tasks;
using System.Web;
using System.Web.Http;
using System.Web.Http.Cors;
using System.Web.Http.Description;
using CacheManager.Core;
using TheArtOfDev.HtmlRenderer.PdfSharp;
Expand Down Expand Up @@ -266,7 +265,6 @@ public IHttpActionResult ProcessOrderPayments(string orderId, string paymentId,
[ResponseType(typeof(CustomerOrder))]
[Route("{id}")]
[CheckPermission(Permission = OrderPredefinedPermissions.Create)]
[EnableCors(origins: "*", headers: "*", methods: "*")]
public async Task<IHttpActionResult> CreateOrderFromCart(string id)
{
CustomerOrder retVal;
Expand Down

0 comments on commit c59a8d2

Please sign in to comment.