remove default host attribute in router

This commit is contained in:
Raphael Deem 2017-03-11 15:39:48 -08:00
parent 88bf78213f
commit 0eedde445c

View File

@ -137,9 +137,6 @@ class Router:
for host_ in host:
self.add(uri, methods, handler, host_)
return
else:
# default host
self.hosts.add('*')
# Dict for faster lookups of if method allowed
if methods: