bohea / sanic-limiter

Provides rate limiting features for Sanic. Supports in-memory, redis and memcache as storage.
MIT License
85 stars 14 forks source link

adapt to sanic@0.5.4 #4

Closed zhyc9de closed 7 years ago

zhyc9de commented 7 years ago

lastest sanic in pip is 0.5.4 request.url with host, so it will not match anything in app.router.routes_static change to use request.path