summaryrefslogtreecommitdiffstats
path: root/app/views.py
diff options
context:
space:
mode:
Diffstat (limited to 'app/views.py')
-rw-r--r--app/views.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/app/views.py b/app/views.py
index fcd3818..ef3bbd0 100644
--- a/app/views.py
+++ b/app/views.py
@@ -29,13 +29,13 @@ async def index(ctx):
@db_route('/i/<url>')
async def raw_image(ctx, url):
async with NGXImage(blure.url.to_id(url)) as image:
- return image.orig()
+ return image.send_image('o')
@db_route('/t/<url>')
async def thumb_image(ctx, url):
async with NGXImage(blure.url.to_id(url)) as image:
- return image.orig()
+ return image.send_image('m')
@db_route('/p/<url>')