mirror of
https://github.com/redlib-org/redlib.git
synced 2025-05-04 12:24:50 +00:00
Add scrolling to highlighted comment (fix #13)
This commit is contained in:
parent
dea805936c
commit
3dee29f3ef
3 changed files with 7 additions and 0 deletions
|
@ -229,6 +229,9 @@ async fn main() {
|
|||
app
|
||||
.at("/hls.min.js")
|
||||
.get(|_| resource(include_str!("../static/hls.min.js"), "text/javascript", false).boxed());
|
||||
app
|
||||
.at("/highlighted.js")
|
||||
.get(|_| resource(include_str!("../static/highlighted.js"), "text/javascript", false).boxed());
|
||||
|
||||
// Proxy media through Redlib
|
||||
app.at("/vid/:id/:size").get(|r| proxy(r, "https://v.redd.it/{id}/DASH_{size}").boxed());
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue