mirror of
https://github.com/bitinflow/server.git
synced 2026-03-13 21:45:54 +00:00
fix bad matching against subdomains
Match for valid subdomains versus anything that comes before a period. fixes #7
This commit is contained in:
@@ -61,7 +61,7 @@ test('query localtunnel server w/ ident', function(done) {
|
||||
port: lt_server_port,
|
||||
agent: false,
|
||||
headers: {
|
||||
host: hostname
|
||||
host: hostname + '.tld'
|
||||
},
|
||||
path: '/'
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user