Browse Source

Simplified config.

pull/544/head
Sebastian 6 years ago
parent
commit
0db295af2e
  1. 8
      backend/src/Squidex/Program.cs

8
backend/src/Squidex/Program.cs

@ -67,13 +67,7 @@ namespace Squidex
{ {
if (context.HostingEnvironment.IsDevelopment() || context.Configuration.GetValue<bool>("devMode:enable")) if (context.HostingEnvironment.IsDevelopment() || context.Configuration.GetValue<bool>("devMode:enable"))
{ {
serverOptions.Listen( serverOptions.ListenAnyIP(
IPAddress.Any,
5001,
listenOptions => listenOptions.UseHttps("../../../dev/squidex-dev.pfx", "password"));
serverOptions.Listen(
IPAddress.IPv6Any,
5001, 5001,
listenOptions => listenOptions.UseHttps("../../../dev/squidex-dev.pfx", "password")); listenOptions => listenOptions.UseHttps("../../../dev/squidex-dev.pfx", "password"));
} }

Loading…
Cancel
Save