diff options
author | Madeline <46743919+MaddyUnderStars@users.noreply.github.com> | 2023-01-05 17:12:21 +1100 |
---|---|---|
committer | Madeline <46743919+MaddyUnderStars@users.noreply.github.com> | 2023-01-05 17:16:55 +1100 |
commit | df449169bde6c0576757700f68f2d406139cc846 (patch) | |
tree | f8bcbaf30ed3ed007d392a51614a134e543e3c17 /src/cdn/Server.ts | |
parent | channel flags whoops (diff) | |
download | server-df449169bde6c0576757700f68f2d406139cc846.tar.xz |
Prettier
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(); |