mirror of
https://github.com/redlib-org/redlib.git
synced 2025-06-08 07:37:45 +00:00
Individually proxy previews
This commit is contained in:
parent
bacb22f7f9
commit
65e4ceff7b
3 changed files with 26 additions and 8 deletions
|
@ -176,6 +176,8 @@ async fn main() -> tide::Result<()> {
|
|||
app.at("/img/:id/").get(proxy::image);
|
||||
app.at("/thumb/:point/:id/").get(proxy::thumbnail);
|
||||
app.at("/emoji/:id/:name/").get(proxy::emoji);
|
||||
app.at("/preview/:location/:id/:query/").get(proxy::preview);
|
||||
app.at("/style/*path/").get(proxy::style);
|
||||
|
||||
// Browse user profile
|
||||
app.at("/u/:name/").get(user::profile);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue