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) {