diff options
author | Vincent Ambo <mail@tazj.in> | 2022-05-14T23·35+0200 |
---|---|---|
committer | tazjin <tazjin@tvl.su> | 2022-05-14T23·50+0000 |
commit | b308361a73778c2921e7f657af434261a91c5a53 (patch) | |
tree | 6187b3c2c1cd0fb4a8cb5ca0bd3c6c1fd3ef84f8 /.rgignore | |
parent | f200b1265f62a1d4c91dbeeb7100dd79afb261fa (diff) |
feat(tazjin/tgsa): add stable redirects to telegram images r/4077
telegram occasionally changes the upstream urls at which images are served, with old/new partially overlapping in time afaict. with this commit, a new endpoint is added to tgsa at /img/$user/$post_id/$img_idx which serves a redirect to the actual image url that telegram had returned within the last hour (i.e. as per the cache). next step is to use these image urls in the bbcode itself. Change-Id: I9aa5cb56bc444cbe796868346c67f2e1e1b79413 Reviewed-on: https://cl.tvl.fyi/c/depot/+/5610 Tested-by: BuildkiteCI Reviewed-by: tazjin <tazjin@tvl.su>
Diffstat (limited to '.rgignore')
0 files changed, 0 insertions, 0 deletions