Undo the change and whitelist beatleader cdn
This commit is contained in:
parent
60df8bac2c
commit
dc8fb42766
@ -8,6 +8,7 @@ const nextConfig = {
|
||||
images: {
|
||||
domains: [
|
||||
"cdn.scoresaber.com",
|
||||
"cdn.beatleader.xyz",
|
||||
"eu.cdn.beatsaver.com",
|
||||
"cdn.fascinated.cc",
|
||||
"avatars.akamai.steamstatic.com",
|
||||
|
@ -42,7 +42,7 @@ export const usePlayerDataStore = create<PlayerDataState>()((set) => ({
|
||||
id: playerId,
|
||||
isLoading: false,
|
||||
pp: data.pp,
|
||||
avatar: `https://cdn.scoresaber.com/avatars/${playerId}.jpg`,
|
||||
avatar: data.avatar || data.profilePicture,
|
||||
globalPos: data.rank,
|
||||
countryRank: data.countryRank,
|
||||
country: data.country,
|
||||
|
Reference in New Issue
Block a user