feat: add a temporary proxy for no_thumbnail

ideally, this would be served from a local resource instead of proxying
This commit is contained in:
2025-09-25 06:36:23 +02:00
parent caa9e0c2b1
commit 509e81aafa
3 changed files with 15 additions and 3 deletions

View File

@@ -66,6 +66,7 @@ def setup():
app.add_url_rule('/vi/<path:received_request>', view_func=views.thumbnailProxy)
app.add_url_rule('/ggpht/<path:received_request>', view_func=views.ggphtProxy)
app.add_url_rule('/guc/<path:received_request>', view_func=views.gucProxy)
app.add_url_rule('/img/<path:received_request>', view_func=views.imgProxy)
db = ythdd_db.initDB(app, config)
with app.app_context():