mirror of
https://github.com/zedeus/nitter
synced 2026-09-05 22:59:31 +00:00
Use sendFile, refactor mimetypes
This commit is contained in:
parent
59e392e3b4
commit
cfcd471ffc
3 changed files with 8 additions and 22 deletions
|
|
@ -1,4 +1,4 @@
|
|||
import asyncdispatch
|
||||
import asyncdispatch, mimetypes
|
||||
from net import Port
|
||||
|
||||
import jester
|
||||
|
|
@ -55,4 +55,6 @@ routes:
|
|||
extend status, ""
|
||||
extend media, ""
|
||||
|
||||
settings.mimes.register("1500x500", "image/jpeg")
|
||||
|
||||
runForever()
|
||||
|
|
|
|||
Loading…
Reference in a new issue