Skip to content

Commit cdcee21

Browse files
Removed redirect and https port
1 parent 7f0781c commit cdcee21

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

App/API/Endpoints.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@ public Endpoints(WebApplication app)
4141
// To retrieve configuration for the registrationprocess in ServiceRegistry
4242
app.MapGet("/configurations", (HttpContext httpContext) =>
4343
{
44-
//Console.WriteLine("Received GET request for configurations");
44+
Console.WriteLine("Received GET request for configurations");
4545
return Registration.GetConfiguration();
4646
});
4747

Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ FROM mcr.microsoft.com/dotnet/aspnet:7.0 AS base
44

55
WORKDIR /app
66

7-
EXPOSE 4000
7+
#EXPOSE 4000
88
EXPOSE 4001
99
ENV ASPNETCORE_URLS=https://*:4000
1010
FROM mcr.microsoft.com/dotnet/sdk:7.0 AS build

Program.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -65,7 +65,7 @@ public static void Main(string[] args)
6565
app.UseSwaggerUI();
6666
}
6767

68-
app.UseHttpsRedirection();
68+
//app.UseHttpsRedirection();
6969

7070
app.UseAuthorization();
7171
//ResourceConnector.GetGraphForResource("08ac06ea-4005-4e31-ae69-7ffc0447b332");

0 commit comments

Comments
 (0)