feat: make PepApi cross-platform for Linux Docker

This commit is contained in:
aj
2026-06-25 22:15:20 -04:00
parent 5a15b552a3
commit b4bdcc160e
+3 -2
View File
@@ -6,8 +6,9 @@ var builder = WebApplication.CreateBuilder(args);
// Enable Windows Service hosting
builder.Host.UseWindowsService();
// Enable Windows Service hosting (only on Windows)
if (OperatingSystem.IsWindows())
builder.Host.UseWindowsService();
// Add services to the container
builder.Services.AddControllers()