Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/npm/cli.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorForrest L Norvell <forrest@npmjs.com>2014-07-01 21:59:22 +0400
committerForrest L Norvell <forrest@npmjs.com>2014-07-01 22:09:40 +0400
commitf6874335d22290788b625b3b147958bde4f1aa7e (patch)
tree61c30c326488be931b2d72d7c696c9b505ec60de /lib/search.js
parentbea190c745f10d21cce45687298b13b6d9d7a10c (diff)
relative URLS for working non-root registry URLS
Diffstat (limited to 'lib/search.js')
-rw-r--r--lib/search.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/search.js b/lib/search.js
index 06907dfe4..e7892350c 100644
--- a/lib/search.js
+++ b/lib/search.js
@@ -63,7 +63,7 @@ function getFilteredData (staleness, args, notArgs, cb) {
follow : true,
staleOk : true
}
- var uri = url.resolve(npm.config.get("registry"), "/-/all")
+ var uri = url.resolve(npm.config.get("registry"), "-/all")
registry.get(uri, opts, function (er, data) {
if (er) return cb(er)
return cb(null, filter(data, args, notArgs))