summary refs log tree commit diff
path: root/src/cdn/routes/guilds.ts
blob: 3c4b646c4dd0e494fc89854ab1457c98782c503d (plain) (blame)
1
2
3
4
5
6
7
8
9
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;