protected override void ApplicationStartup(ILifetimeScope container, IPipelines pipelines) { pipelines.EnableJsonErrorResponse(container.Resolve<IErrorMapper>()); pipelines.EnableCORS(); base.ApplicationStartup(container, pipelines); }
protected override void ApplicationStartup(ILifetimeScope container, IPipelines pipelines) { pipelines.EnableJsonErrorResponse(container.Resolve<IErrorMapper>()); pipelines.EnableCORS(); base.ApplicationStartup(container, pipelines); }