diff options
Diffstat (limited to 'src/cdn/Server.ts')
-rw-r--r-- | src/cdn/Server.ts | 12 |
1 files changed, 9 insertions, 3 deletions
diff --git a/src/cdn/Server.ts b/src/cdn/Server.ts index 1fd9ca38..7340a735 100644 --- a/src/cdn/Server.ts +++ b/src/cdn/Server.ts @@ -56,7 +56,7 @@ export class CDNServer extends Server { this.app.use("/splashes/", avatarsRoute); this.log("verbose", "[Server] Route /splashes registered"); - + this.app.use("/discovery-splashes/", avatarsRoute); this.log("verbose", "[Server] Route /discovery-splashes registered"); @@ -75,10 +75,16 @@ export class CDNServer extends Server { this.app.use("/channel-icons/", avatarsRoute); this.log("verbose", "[Server] Route /channel-icons registered"); - this.app.use("/guilds/:guild_id/users/:user_id/avatars", guildProfilesRoute); + this.app.use( + "/guilds/:guild_id/users/:user_id/avatars", + guildProfilesRoute, + ); this.log("verbose", "[Server] Route /guilds/avatars registered"); - this.app.use("/guilds/:guild_id/users/:user_id/banners", guildProfilesRoute); + this.app.use( + "/guilds/:guild_id/users/:user_id/banners", + guildProfilesRoute, + ); this.log("verbose", "[Server] Route /guilds/banners registered"); return super.start(); |