Fix network page subpage redirect

Removed the check that the /network address should end without a slash since this rule no longer holds.

Affects issues:
- Fixed #2647
This commit is contained in:
Aurora Lahtela 2022-10-15 14:02:36 +03:00
parent dc742b4cd1
commit cf140e0db1

View File

@ -95,7 +95,6 @@ public class ServerPageResolver implements Resolver {
private Optional<ServerUUID> getServerUUID(URIPath path) {
if (serverInfo.getServer().isProxy()
&& path.getPart(0).map("network"::equals).orElse(false)
&& path.getPart(1).isEmpty() // No slash at the end.
) {
return Optional.of(serverInfo.getServerUUID());
}