Get server list over https (#15538)

This commit is contained in:
Timur1324 2024-12-12 14:31:12 +00:00 committed by GitHub
parent bcbee873e8
commit 9f71e74158
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
2 changed files with 3 additions and 3 deletions

@ -772,7 +772,7 @@ contentdb_max_concurrent_downloads (ContentDB Max Concurrent Downloads) int 3 1
enable_local_map_saving (Saving map received from server) bool false enable_local_map_saving (Saving map received from server) bool false
# URL to the server list displayed in the Multiplayer Tab. # URL to the server list displayed in the Multiplayer Tab.
serverlist_url (Serverlist URL) string servers.luanti.org serverlist_url (Serverlist URL) string https://servers.luanti.org
# If enabled, account registration is separate from login in the UI. # If enabled, account registration is separate from login in the UI.
# If disabled, new accounts will be registered automatically when logging in. # If disabled, new accounts will be registered automatically when logging in.
@ -810,7 +810,7 @@ server_announce (Announce server) bool false
server_announce_send_players (Send player names to the server list) bool true server_announce_send_players (Send player names to the server list) bool true
# Announce to this serverlist. # Announce to this serverlist.
serverlist_url (Serverlist URL) string servers.luanti.org serverlist_url (Serverlist URL) string https://servers.luanti.org
# Message of the day displayed to players connecting. # Message of the day displayed to players connecting.
motd (Message of the day) string motd (Message of the day) string

@ -78,7 +78,7 @@ void set_default_settings()
settings->setDefault("language", ""); settings->setDefault("language", "");
settings->setDefault("name", ""); settings->setDefault("name", "");
settings->setDefault("bind_address", ""); settings->setDefault("bind_address", "");
settings->setDefault("serverlist_url", "servers.luanti.org"); settings->setDefault("serverlist_url", "https://servers.luanti.org");
// Client // Client
settings->setDefault("address", ""); settings->setDefault("address", "");