Browse Source

X-Forwared handled

pull/1/head
Sebastian 9 years ago
parent
commit
a178a36f93
  1. 2
      src/Squidex/Startup.cs
  2. 1
      src/Squidex/project.json

2
src/Squidex/Startup.cs

@ -14,6 +14,7 @@ using Autofac.Extensions.DependencyInjection;
using Microsoft.AspNetCore.Builder;
using Microsoft.AspNetCore.Hosting;
using Microsoft.AspNetCore.Http;
using Microsoft.AspNetCore.HttpOverrides;
using Microsoft.Extensions.Configuration;
using Microsoft.Extensions.DependencyInjection;
using Microsoft.Extensions.Logging;
@ -101,6 +102,7 @@ namespace Squidex
app.TestExternalSystems();
app.UseHttpMethodOverride();
app.UseMiddleware<SingleUrlsMiddleware>();
MapAndUseIdentity(app);

1
src/Squidex/project.json

@ -9,6 +9,7 @@
"Microsoft.AspNetCore.Authentication.Google": "1.1.0",
"Microsoft.AspNetCore.Authentication.OpenIdConnect": "1.1.0",
"Microsoft.AspNetCore.Diagnostics": "1.1.0",
"Microsoft.AspNetCore.HttpOverrides": "1.1.0",
"Microsoft.AspNetCore.Identity": "1.1.0",
"Microsoft.AspNetCore.Mvc": "1.1.1",
"Microsoft.AspNetCore.Razor.Tools": "1.1.0-preview4-final",

Loading…
Cancel
Save