mirror of
https://github.com/yairm210/Unciv.git
synced 2025-07-04 07:17:50 +07:00
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:

committed by
GitHub

parent
d3f8f680d1
commit
1da08994df
@ -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"
|
||||
|
Reference in New Issue
Block a user