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:
1
ythdd.py
1
ythdd.py
@@ -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():
|
||||
|
||||
Reference in New Issue
Block a user