Skip to content

Commit

Permalink
add the default host
Browse files Browse the repository at this point in the history
  • Loading branch information
howardchung committed Nov 21, 2024
1 parent 07bca1a commit 44d469a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion util/utility.ts
Original file line number Diff line number Diff line change
Expand Up @@ -867,7 +867,7 @@ export async function getApiHosts(): Promise<string[]> {
'-inf',
Date.now() - 10000,
);
return redis.zrange('registry:proxy', 0, -1);
return [...await redis.zrange('registry:proxy', 0, -1), ...config.STEAM_API_HOST.split(',')];
}
return config.STEAM_API_HOST.split(',')
}
Expand Down

0 comments on commit 44d469a

Please sign in to comment.