diff --git a/src/Jackett.Server/Startup.cs b/src/Jackett.Server/Startup.cs index 4059c5d4c..a85292a81 100644 --- a/src/Jackett.Server/Startup.cs +++ b/src/Jackett.Server/Startup.cs @@ -45,9 +45,9 @@ namespace Jackett.Server .AddCookie(CookieAuthenticationDefaults.AuthenticationScheme, options => { - options.LoginPath = new PathString(Helper.ServerService.BasePath() + "/UI/Login"); - options.AccessDeniedPath = new PathString(Helper.ServerService.BasePath() + "/UI/Login"); - options.LogoutPath = new PathString(Helper.ServerService.BasePath() + "/UI/Logout"); + options.LoginPath = new PathString("/UI/Login"); + options.AccessDeniedPath = new PathString("/UI/Login"); + options.LogoutPath = new PathString("/UI/Logout"); options.Cookie.Name = "Jackett"; options.Cookie.SameSite = SameSiteMode.None; });