mirror of
https://github.com/yairm210/Unciv.git
synced 2025-07-10 15:59:33 +07:00

Normally this is auto-fixed but a `/` at the end of the URL does not work. Because in API you do requests like `GET /file/:filename` and if you also put a `/` at the end of the server URL, it becomes something like this `https://example.com//files/filename`. Since the auto-fix happens only when typing a new URL from `Options` > `Multiplayer`, the default value doesn't get auto-fixed and shows errors. I tested on a new installation and as expected it shows the `Couldn't upload game` error. This pr fixes this.