viewer improvements

updates to config
thumbnail size increase
This commit is contained in:
2025-05-27 21:58:30 -04:00
parent c78a65161a
commit ffe1e5ce3a
9 changed files with 67 additions and 24 deletions

View File

@@ -14,14 +14,16 @@ var builder = WebApplication.CreateBuilder(args);
builder.WebHost.ConfigureKestrel(o =>
{
o.ListenAnyIP(8081, lo =>
#if !DEBUG
o.ListenAnyIP(8081, lo =>
{
lo.Protocols = Microsoft.AspNetCore.Server.Kestrel.Core.HttpProtocols.Http2;
});
o.ListenAnyIP(8080, lo =>
o.ListenAnyIP(8080, lo =>
{
lo.Protocols = Microsoft.AspNetCore.Server.Kestrel.Core.HttpProtocols.Http1AndHttp2;
});
#endif
});
var config = builder.Configuration;
// Add services to the container.

View File

@@ -6,7 +6,7 @@
"ASPNETCORE_ENVIRONMENT": "Development"
},
"dotnetRunMessages": true,
"applicationUrl": "http://localhost:5164"
"applicationUrl": "http://localhost:8081"
},
"https": {
"commandName": "Project",
@@ -14,17 +14,16 @@
"ASPNETCORE_ENVIRONMENT": "Development"
},
"dotnetRunMessages": true,
"applicationUrl": "https://localhost:7167;http://localhost:5164"
"applicationUrl": "http://localhost:8081"
},
"Container (Dockerfile)": {
"commandName": "Docker",
"launchUrl": "{Scheme}://{ServiceHost}:{ServicePort}",
"environmentVariables": {
"ASPNETCORE_HTTPS_PORTS": "8081",
"ASPNETCORE_HTTP_PORTS": "8080"
"ASPNETCORE_HTTP_PORTS": "8081"
},
"publishAllPorts": true,
"useSSL": true
"useSSL": false
}
},
"$schema": "https://json.schemastore.org/launchsettings.json"

View File

@@ -1,8 +1,5 @@
{
"Kestrel": {
"EndpointDefaults": {
"Protocols": "Http1AndHttp2"
},
"Logging": {
"LogLevel": {
"Default": "Information",