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.