Fixes issue #491 #499

Closed
wants to merge 1 commit into
from
Jump to file or symbol
Failed to load files and symbols.
+1 −1
Split
View
@@ -925,7 +925,7 @@ def index():
rule = self.url_rule_class(rule, methods=methods, **options)
rule.provide_automatic_options = provide_automatic_options
- self.url_map.add(rule)
+ self.url_map.add(rule, host_matching=True)
if view_func is not None:
self.view_functions[endpoint] = view_func