diff options
Diffstat (limited to 'src/ng/http.js')
| -rw-r--r-- | src/ng/http.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/ng/http.js b/src/ng/http.js index b0f8de62..dd949a6c 100644 --- a/src/ng/http.js +++ b/src/ng/http.js @@ -52,7 +52,7 @@ function isSameDomain(requestUrl, locationUrl) { relativeProtocol: match[2] === undefined || match[2] === '' }; - match = URL_MATCH.exec(locationUrl); + match = SERVER_MATCH.exec(locationUrl); var domain2 = { protocol: match[1], host: match[3], |
