From 4706b17491cff9b8681c7a00d3081664b73ec57b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Halil=20=C4=B0brahim=20Kalkan?= Date: Thu, 5 Aug 2021 15:47:43 +0300 Subject: [PATCH] clear unused code --- src/EventHub.Web/Dockerfile | 1 - src/EventHub.Web/EventHubWebModule.cs | 7 ------- src/EventHub.Web/Program.cs | 1 - 3 files changed, 9 deletions(-) diff --git a/src/EventHub.Web/Dockerfile b/src/EventHub.Web/Dockerfile index e65d369..ab31322 100644 --- a/src/EventHub.Web/Dockerfile +++ b/src/EventHub.Web/Dockerfile @@ -1,5 +1,4 @@ FROM mcr.microsoft.com/dotnet/aspnet:5.0 COPY bin/Release/net5.0/publish/ app/ - RUN apt-get update && apt-get install -y curl WORKDIR /app ENTRYPOINT ["dotnet", "EventHub.Web.dll"] \ No newline at end of file diff --git a/src/EventHub.Web/EventHubWebModule.cs b/src/EventHub.Web/EventHubWebModule.cs index 206550b..6f1efcd 100644 --- a/src/EventHub.Web/EventHubWebModule.cs +++ b/src/EventHub.Web/EventHubWebModule.cs @@ -161,13 +161,6 @@ namespace EventHub.Web options.Scope.Add("email"); options.Scope.Add("phone"); options.Scope.Add("EventHub"); - /* - options.Events.OnRedirectToIdentityProvider = redirectContext => - { - redirectContext.ProtocolMessage.RedirectUri = $"{configuration["App:SelfUrl"]}/signin-oidc"; - return Task.CompletedTask; - }; - */ }); } diff --git a/src/EventHub.Web/Program.cs b/src/EventHub.Web/Program.cs index bb1f758..010a36d 100644 --- a/src/EventHub.Web/Program.cs +++ b/src/EventHub.Web/Program.cs @@ -45,7 +45,6 @@ namespace EventHub.Web .ConfigureWebHostDefaults(webBuilder => { webBuilder.UseStartup(); - //webBuilder.UseUrls("http://localhost:80", "https://localhost:443"); }) .UseAutofac() .UseSerilog();