Breaking URL Error when hosting build on own domain- Slash missing

Seems like a self-hosted build won’t load due to slashes not being put after the domain url. It’s being hosted on mysite.io. I downloaded the build zip, and pushed to my server. It won’t load and shows errors like this:

Looks like a slash is missing: The playcanvas core URLs be mysite.io/files/…, but instead they become mysite.iofiles/… .

Is this an engine-wide bug? I turned off all cloudflare settings, but it still happens.

This is has been fixed in Build with join by slimbuck · Pull Request #5320 · playcanvas/engine · GitHub that hasn’t been released yet

For the short term, on the downloaded build, add a / to the file paths in __settings__.js file

1 Like

Thanks for the quick reply.