Addet aspire support pos.web and also addet the pictures for layout

This commit is contained in:
Alex Pedersen
2026-07-30 13:22:33 +02:00
parent 9497afe262
commit 2e537337f5
19 changed files with 34 additions and 5 deletions

View File

@@ -4,6 +4,8 @@ using Microsoft.Extensions.DependencyInjection;
var builder = WebApplication.CreateBuilder(args);
builder.AddServiceDefaults();
// Services
builder.Services.AddControllers();
builder.Services.AddEndpointsApiExplorer();
@@ -13,6 +15,8 @@ builder.Services.AddScoped<EpsonPrintService>();
var app = builder.Build();
app.MapDefaultEndpoints();
// Swagger (altid aktiv vi er på en Pi, ikke i produktion)
app.UseSwagger();
app.UseSwaggerUI();