mirror of
https://github.com/plan-player-analytics/Plan.git
synced 2025-01-30 16:19:56 +08:00
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:
parent
dc742b4cd1
commit
cf140e0db1
@ -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());
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user