Plan icon indicating copy to clipboard operation
Plan copied to clipboard

Network: Clicking players from a server playerlist does not send to the correct URL, 404.

Open TomLewis opened this issue 3 years ago • 4 comments

Describe the issue

I have a self-hosted, Bungee network setup. if I visit My survival analyics, click players, click on a player, it 404's. I think this is just a bad URL, because if I remove /server/ from the URL, it shows me the player page.

https://panel.fakedomain.com/server/player/4930de2b-5b3b-4660-8c55-e2a0db07d91d

But this works

https://panel.fakedomain.com/player/4930de2b-5b3b-4660-8c55-e2a0db07d91d

TomLewis avatar May 06 '22 11:05 TomLewis

Ah I see, this is probably what that other ticket was talking about (I closed it as "could not reproduce") but I didn't realize they were using export!

AuroraLS3 avatar May 06 '22 13:05 AuroraLS3

Hmm, I wonder - does the address have a slash at the end when you access the exported server page? (eg. /server/Lobby/ instead of /server/Lobby) - Plan assumes it doesn't

AuroraLS3 avatar May 26 '22 06:05 AuroraLS3

Hmm, I wonder - does the address have a slash at the end when you access the exported server page? (eg. /server/Lobby/ instead of /server/Lobby) - Plan assumes it doesn't

Yes it does! I wonder if this is an Nginx thing?

TomLewis avatar May 26 '22 08:05 TomLewis

I am unsure, it could also be because the exported file is /server/Lobby/index.html - At least now I know what to do to fix it, some js magic needs to detect if there's a slash at the end :)

AuroraLS3 avatar May 26 '22 11:05 AuroraLS3

Should be sorted out by the React version of export when Plugin.Frontend_BETA and Export is enabled.

AuroraLS3 avatar Jan 22 '23 12:01 AuroraLS3