diff --git a/server.js b/server.js index 7cb2ab6..e699016 100644 --- a/server.js +++ b/server.js @@ -33,7 +33,7 @@ function maybe_bounce(req, res, bounce) { } // extract the subdomain, which is the client id - var match = hostname.match(/^([a-z0-9]+)[.].*/); + var match = hostname.match(/^([a-z0-9]+)[.].*[.].*/); // not for a specific client // pass on to regular server