From a8e31116b2b91ac8a111adbe1b3c028d9bc0ebe2 Mon Sep 17 00:00:00 2001 From: Artemy <109195690+stalcker2288969@users.noreply.github.com> Date: Mon, 9 Feb 2026 00:01:29 +0700 Subject: [PATCH] with out app.UseHttpsRedirection --- Govor.API/Program.cs | 2 +- Govor.API/Properties/launchSettings.json | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/Govor.API/Program.cs b/Govor.API/Program.cs index 551fdea..2e99680 100644 --- a/Govor.API/Program.cs +++ b/Govor.API/Program.cs @@ -116,7 +116,7 @@ app.UseSwaggerUI(); app.UseCors("AllowFrontend"); -app.UseHttpsRedirection(); +//app.UseHttpsRedirection(); app.UseRouting(); diff --git a/Govor.API/Properties/launchSettings.json b/Govor.API/Properties/launchSettings.json index 0edc649..defffb2 100644 --- a/Govor.API/Properties/launchSettings.json +++ b/Govor.API/Properties/launchSettings.json @@ -5,7 +5,7 @@ "commandName": "Project", "dotnetRunMessages": true, "launchBrowser": false, - "applicationUrl": "http://0.0.0.0:8080; http://localhost:7155", + "applicationUrl": "http://0.0.0.0:8080;", "environmentVariables": { "ASPNETCORE_ENVIRONMENT": "Development" } @@ -14,7 +14,7 @@ "commandName": "Project", "dotnetRunMessages": true, "launchBrowser": true, - "applicationUrl": "https://0.0.0.0:8080; https://localhost:7155", + "applicationUrl": "https://0.0.0.0:8080;", "environmentVariables": { "ASPNETCORE_ENVIRONMENT": "Development" }