diff --git a/LANCommander/Program.cs b/LANCommander/Program.cs index 58b0547..57c067b 100644 --- a/LANCommander/Program.cs +++ b/LANCommander/Program.cs @@ -84,7 +84,7 @@ else app.UseHsts(); } -app.UseHttpsRedirection(); +// app.UseHttpsRedirection(); app.UseStaticFiles(); app.UseRouting(); diff --git a/LANCommander/appsettings.json b/LANCommander/appsettings.json index e3c11b1..1733795 100644 --- a/LANCommander/appsettings.json +++ b/LANCommander/appsettings.json @@ -8,6 +8,16 @@ "Microsoft.AspNetCore": "Warning" } }, + "Kestrel": { + "Endpoints": { + "Http": { + "Url": "http://0.0.0.0:5000" + }, + "Https": { + "Url": "https://0.0.0.0:5001" + } + } + }, "AllowedHosts": "*", "JWT": { "ValidAudience": "",