Small cleanup

This commit is contained in:
Zed
2019-06-21 02:30:57 +02:00
parent 89b6cfdf98
commit 3bd54f5df2
2 changed files with 24 additions and 29 deletions

View File

@ -54,7 +54,8 @@ routes:
client = newAsyncHttpClient()
pic = await client.getContent(url)
defer: client.close()
client.close()
resp pic, mimetype(url)
get "/video/@sig/@url":