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