diff --git a/lib/siteAdapter.coffee b/lib/siteAdapter.coffee index cc34d68..88d17ed 100644 --- a/lib/siteAdapter.coffee +++ b/lib/siteAdapter.coffee @@ -70,7 +70,7 @@ findAdapterQ = queue( (task, done) -> if sitePrefix[site]? done sitePrefix[site] - if site.split('.').at(-1) is 'localhost' + if site.split('.').at(-1).split(':')[0] is 'localhost' testURL = "http://#{site}/favicon.png" else testURL = "//#{site}/favicon.png"