Individually proxy custom emojis

This commit is contained in:
spikecodes 2021-02-19 18:18:09 -08:00
parent c586de66ba
commit 902c9a6e42
No known key found for this signature in database
GPG key ID: 004CECFF9B463BCB
3 changed files with 19 additions and 13 deletions

View file

@ -175,6 +175,7 @@ async fn main() -> tide::Result<()> {
app.at("/vid/:id/:size/").get(proxy::video);
app.at("/img/:id/").get(proxy::image);
app.at("/thumb/:point/:id/").get(proxy::thumbnail);
app.at("/emoji/:id/:name/").get(proxy::emoji);
// Browse user profile
app.at("/u/:name/").get(user::profile);