From dd17bc0b19a892ee5865f40dd6dd345898f1fc14 Mon Sep 17 00:00:00 2001 From: Matthew Sigley Date: Fri, 4 Aug 2023 12:30:10 -0400 Subject: [PATCH] Added AGPLv3 requirements. --- src/Imageflow.Server.Host/Startup.cs | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/Imageflow.Server.Host/Startup.cs b/src/Imageflow.Server.Host/Startup.cs index 05a0ddbe..b1b50bed 100644 --- a/src/Imageflow.Server.Host/Startup.cs +++ b/src/Imageflow.Server.Host/Startup.cs @@ -61,6 +61,10 @@ public void Configure(IApplicationBuilder app, IWebHostEnvironment env) // Also, Imageflow Server makes good etags, no need to remove them configurator.ConfigureApp(app, env); + + app.UseImageflow(new ImageflowMiddlewareOptions() + .SetMapWebRoot(true) + .SetMyOpenSourceProjectUrl("https://github.com/msigley/imageflow-dotnet-server")); }