fix: rewrite options

This commit is contained in:
CyberL1 2024-05-26 10:27:05 +02:00
parent 8e51111564
commit 69fe834c6d

View File

@ -90,7 +90,7 @@ if (mode.Value == nameof(WorkModeEnum.REALMS))
}
}
var rewriteOptions = new RewriteOptions().AddRewrite(@"^(?!.*configuration)(.*)$", $"modes/{mode.Value}/$1", true);
var rewriteOptions = new RewriteOptions().AddRewrite(@"^(?!configuration)(.*)$", $"modes/{mode.Value}/$1", true);
app.UseRewriter(rewriteOptions);
app.UseMiddleware<MinecraftCookieMiddleware>();