Add prod cdn todo

This commit is contained in:
Pfych
2021-10-02 10:34:37 +10:00
parent 6d1f2f9f1b
commit cecbdd43cc
+1
View File
@@ -35,6 +35,7 @@ export const getGameImage = (gameId: string, game: Game): string => {
if (ProcessEnv.ENV !== "prod") {
return `https://kamaitachi.xyz/static/images/gameicons/${game}/${gameId}.png`;
}
/** @TODO Prod CDN for game images */
return PrependTachiUrl(`/users/${gameId}/pfp`);
};