diff options
Diffstat (limited to 'src/cdn/routes/guilds.ts')
-rw-r--r-- | src/cdn/routes/guilds.ts | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/src/cdn/routes/guilds.ts b/src/cdn/routes/guilds.ts new file mode 100644 index 00000000..3c4b646c --- /dev/null +++ b/src/cdn/routes/guilds.ts @@ -0,0 +1,10 @@ +import { Router } from "express"; +import { getAvatar } from "./avatars"; + +const router = Router(); + +// TODO: handle guild profiles +router.get("/:guild_id/users/:user_id/avatars/:hash", getAvatar); +router.get("/:guild_id/users/:user_id/banners/:hash", getAvatar); + +export default router; \ No newline at end of file |