squaremap

squaremap

1.9k Downloads

Players not showing and map not rendering when using custom URL?

skdza opened this issue ยท 1 comments

commented

Hello! I've been using squaremap on my server for a while and it works lovely, until I decided to set it up with my custom domain. I can access the base map just fine through https://craft.skenda.me/world, but when I use /map link, I get the following link: https://craft.skenda.me/world?=2135767055b840419903de6ef46aa50d

Now, this should work, but it just renders a blank white page. I'm not sure why this is, or exactly how to fix it.
If i copy over the query parameter to a local ip: 192.168.0.201:3333/?uuid=2135767055b840419903de6ef46aa50d, then it renders fine.

Not working with public URL:
Image

Working with local URL:
Image

commented

Never mind, I'm dumb. In the config file I set the web-address to https://craft.skenda.me/world, but without a trailing slash. So my nginx setup overtook the query, but I didn't tell it to pass it on to squaremap so nginx didn't know what to do and showed me a blank page. If I set web-address to https://craft.skenda.me/world with a trailing slash, then it works just fine.