mirror of
https://github.com/PretendoNetwork/account.git
synced 2026-09-30 06:12:26 -05:00
Mii images served over Bunny CDN
This commit is contained in:
@@ -144,9 +144,10 @@ async function getUserProfileJSONByPID(pid) {
|
||||
mii_images: {
|
||||
mii_image: {
|
||||
// Images MUST be loaded over HTTPS or console ignores them
|
||||
cached_url: `https://cdn.pretendo.cc/mii/${user.pid}/standard.tga`,
|
||||
// Bunny CDN is the only CDN which seems to support TLS 1.0/1.1 (required)
|
||||
cached_url: `https://pretendo-cdn.b-cdn.net/mii/${user.pid}/standard.tga`,
|
||||
id: user.get('mii.image_id'),
|
||||
url: `https://cdn.pretendo.cc/mii/${user.pid}/standard.tga`,
|
||||
url: `https://pretendo-cdn.b-cdn.net/mii/${user.pid}/standard.tga`,
|
||||
type: 'standard'
|
||||
}
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user