rack-bridge 0.6.0 → 0.6.1
Sign up to get free protection for your applications and to get access to all the features.
- data/VERSION +1 -1
- data/lib/bridge/server.rb +1 -1
- metadata +2 -2
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
0.6.
|
1
|
+
0.6.1
|
data/lib/bridge/server.rb
CHANGED
@@ -65,7 +65,7 @@ module Bridge
|
|
65
65
|
@listen_hosts = hosts.collect do |h|
|
66
66
|
# We need to expand *blah into *.blah and blah. This is a client-side
|
67
67
|
# convenience, not something the server deals with.
|
68
|
-
if (match = %r{^\*[^\.]
|
68
|
+
if (match = %r{^\*([^\.].+)$}.match(h))
|
69
69
|
["*." << match[1], match[1]]
|
70
70
|
else
|
71
71
|
h
|