update the config.json
This commit is contained in:
@ -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;
|
||||
|
Reference in New Issue
Block a user