From 0eedde445c043454bf6882b7c910c57bfa335167 Mon Sep 17 00:00:00 2001 From: Raphael Deem Date: Sat, 11 Mar 2017 15:39:48 -0800 Subject: [PATCH] remove default host attribute in router --- sanic/router.py | 3 --- 1 file changed, 3 deletions(-) diff --git a/sanic/router.py b/sanic/router.py index b7c7fdb3..38b1c029 100644 --- a/sanic/router.py +++ b/sanic/router.py @@ -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: