summary refs log tree commit diff
path: root/src/cdn/routes/guilds.ts
blob: 6f0719b642c5d928eb93ea7f007f45515d19eab8 (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;