* Get the connection string for the content server from the environment variable OTTD_CONTENT_SERVER_CS, * or when it has not been set a hard coded default DNS hostname of the production server. * @return The content server's connection string. */
| 41 | * @return The content server's connection string. |
| 42 | */ |
| 43 | std::string_view NetworkContentServerConnectionString() |
| 44 | { |
| 45 | return GetEnv("OTTD_CONTENT_SERVER_CS").value_or("content.openttd.org"); |
| 46 | } |
| 47 | |
| 48 | /** |
| 49 | * Get the URI string for the content mirror from the environment variable OTTD_CONTENT_MIRROR_URI, |