using SlpModularCms.Core.Hosting; var builder = WebApplication.CreateBuilder(args); // Load local developer overrides builder.Configuration.AddJsonFile("appsettings.local.json", optional: true, reloadOnChange: true); // Andrea Slop Fotografie serves a prerendered website from wwwroot/web (nginx-equivalent behaviour) // instead of the SPA-style website mount the other clients use. var hostOptions = new CmsHostOptions { WebsiteMode = WebsiteMode.PrerenderedPages }; var orchestrator = CmsHost.ConfigureServices(builder, hostOptions); var app = builder.Build(); CmsHost.ConfigurePipeline(app, orchestrator, hostOptions); app.Run(); // Exposed so the host regression tests can start the real application in-memory. public partial class Program;