Finally got the api working properly

This commit is contained in:
2026-04-01 13:10:01 +10:30
parent 5407c7db55
commit ad107753b5
6 changed files with 24 additions and 19 deletions
+2
View File
@@ -1,4 +1,5 @@
using Emergence.services.Extensions;
using Scalar.AspNetCore;
var builder = WebApplication.CreateBuilder(args);
@@ -15,6 +16,7 @@ var app = builder.Build();
if (app.Environment.IsDevelopment())
{
app.MapOpenApi();
app.MapScalarApiReference();
}
app.UseHttpsRedirection();