Permalink
Browse files

Fixes issue #491

  • Loading branch information...
1 parent ccc6816 commit 1f18359851c1f656e05f114f005c28c0eac966d6 @Poincare committed Apr 23, 2012
Showing with 1 addition and 1 deletion.
  1. +1 −1 flask/app.py
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

0 comments on commit 1f18359

Please sign in to comment.