From c27924b576cb119bf813eb522afbb270a22fe196 Mon Sep 17 00:00:00 2001 From: Jason Dove <1695733+jasongdove@users.noreply.github.com> Date: Mon, 5 Jan 2026 09:05:53 -0600 Subject: [PATCH] add commented code to help with testing --- ErsatzTV/Startup.cs | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/ErsatzTV/Startup.cs b/ErsatzTV/Startup.cs index 1127336a3..219ba1fb6 100644 --- a/ErsatzTV/Startup.cs +++ b/ErsatzTV/Startup.cs @@ -527,6 +527,18 @@ public class Startup try { app.UsePathBase(baseUrl); + + // for testing - make path base required + // app.Use(async (context, next) => + // { + // if (context.Request.PathBase != baseUrl) + // { + // context.Response.StatusCode = 404; + // return; + // } + // + // await next(context); + // }); } catch (Exception ex) {