Skip to content

Commit d95c310

Browse files
committed
feat: add workers for discord cdn
1 parent 79a8238 commit d95c310

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

utils/Constants.ts

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -334,12 +334,12 @@ export const KoreanbotsEndPoints = {
334334
}
335335
},
336336
CDN: class {
337-
static root = '/api/image'
337+
static root = '//cdn.koreanbots.dev'
338338
static avatar(id: string, options: KoreanbotsImageOptions) {
339-
return makeImageURL(`${this.root}/discord/avatars/${id}`, options)
339+
return makeImageURL(`${this.root}/avatars/${id}`, options)
340340
}
341341
static icon(id: string, options: KoreanbotsImageOptions) {
342-
return makeImageURL(`${this.root}/discord/icons/${id}`, options)
342+
return makeImageURL(`${this.root}/icons/${id}`, options)
343343
}
344344
},
345345
URL: class {

0 commit comments

Comments
 (0)