diff options
Diffstat (limited to 'src/service/location.js')
| -rw-r--r-- | src/service/location.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/service/location.js b/src/service/location.js index a7ff103b..1accb993 100644 --- a/src/service/location.js +++ b/src/service/location.js @@ -30,7 +30,7 @@ function matchUrl(url, obj) { match = { protocol: match[1], host: match[3], - port: parseInt(match[5], 10) || DEFAULT_PORTS[match[1]] || null, + port: int(match[5]) || DEFAULT_PORTS[match[1]] || null, path: match[6] || '/', search: match[8], hash: match[10] |
