Skip to content

Commit

Permalink
Merge pull request #22 from RemmSoft/feature/Core-14
Browse files Browse the repository at this point in the history
#14 : Cors done.
  • Loading branch information
tanser authored Sep 6, 2017
2 parents 197f01c + 57ceeff commit 91dcee4
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions RS.Core.Api/Startup.cs
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
using Microsoft.Owin;
using Microsoft.Owin.Cors;
using Owin;
using RS.Core.App_Start;
using RS.Core.Service.AutoMapper;
Expand All @@ -11,6 +12,9 @@ public partial class Startup
{
public void Configuration(IAppBuilder app)
{
//Cors
app.UseCors(CorsOptions.AllowAll);

//Autofac
app.UseAutofacMiddleware(AutofacConfig.Configure());

Expand Down

0 comments on commit 91dcee4

Please sign in to comment.