diff options
author | Hailey <me@haileyok.com> | 2024-08-15 11:23:48 -0700 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-08-15 11:23:48 -0700 |
commit | 11061b628ef5b5805c6435155ca2a571001e4643 (patch) | |
tree | d1e3c672d225592af7e1341332c6c6aeb979f216 /bskyweb | |
parent | b9975697e22ef729e60b9111883127961258445b (diff) | |
download | voidsky-11061b628ef5b5805c6435155ca2a571001e4643.tar.zst |
[Video] Download videos (#4886)
Co-authored-by: Samuel Newman <10959775+mozzius@users.noreply.github.com>
Diffstat (limited to 'bskyweb')
-rw-r--r-- | bskyweb/cmd/bskyweb/server.go | 3 | ||||
-rw-r--r-- | bskyweb/static/robots.txt | 1 |
2 files changed, 4 insertions, 0 deletions
diff --git a/bskyweb/cmd/bskyweb/server.go b/bskyweb/cmd/bskyweb/server.go index fdef01ce7..01f1a8755 100644 --- a/bskyweb/cmd/bskyweb/server.go +++ b/bskyweb/cmd/bskyweb/server.go @@ -256,6 +256,9 @@ func serve(cctx *cli.Context) error { e.GET("/profile/:handleOrDID/post/:rkey/liked-by", server.WebGeneric) e.GET("/profile/:handleOrDID/post/:rkey/reposted-by", server.WebGeneric) + // video download + e.GET("/video-download", server.WebGeneric) + // starter packs e.GET("/starter-pack/:handleOrDID/:rkey", server.WebStarterPack) e.GET("/start/:handleOrDID/:rkey", server.WebStarterPack) diff --git a/bskyweb/static/robots.txt b/bskyweb/static/robots.txt index 4f8510d18..d785755a4 100644 --- a/bskyweb/static/robots.txt +++ b/bskyweb/static/robots.txt @@ -7,3 +7,4 @@ # be ok. User-Agent: * Allow: / +Disallow: /video-download |