fix UncivServer.xyz not working (#8104)

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.
This commit is contained in:
Md. Touhidur Rahman
2022-12-10 22:38:53 +06:00
committed by GitHub
parent d3f8f680d1
commit 1da08994df

View File

@ -80,7 +80,7 @@ object Constants {
const val uniqueOrDelimiter = "\" OR \""
const val dropboxMultiplayerServer = "Dropbox"
const val uncivXyzServer = "https://uncivserver.xyz/"
const val uncivXyzServer = "https://uncivserver.xyz"
const val defaultTileset = "HexaRealm"
const val defaultUnitset = "AbsoluteUnits"