This commit is contained in:
2026-02-10 19:12:31 +03:00
parent 631126a85c
commit d9cc66e35c
11 changed files with 771 additions and 22 deletions

View File

@@ -1,5 +1,6 @@
using System.Reflection;
using System.Text.Json;
using Scalar.AspNetCore;
// Ensure S8n.Components.Packages assembly is loaded
_ = typeof(S8n.Components.Basics.Calculator).Assembly;
@@ -16,6 +17,7 @@ var app = builder.Build();
if (app.Environment.IsDevelopment())
{
app.MapOpenApi();
app.MapScalarApiReference();
}
app.UseHttpsRedirection();