update the config.json

This commit is contained in:
Lee
2024-04-19 23:13:14 +01:00
parent 6e2fc9e13b
commit d0f926f330
5 changed files with 16 additions and 16 deletions

View File

@ -44,7 +44,7 @@ function getFavicon(
server: CachedJavaMinecraftServer | CachedBedrockMinecraftServer | undefined,
): string | undefined {
if (server == null || platform === ServerPlatform.Bedrock) {
return config.apiUrl + "/server/icon/fallback";
return config.apiEndpoint + "/server/icon/fallback";
}
server = server as CachedJavaMinecraftServer;
return server.favicon && server.favicon.url;