From 7431dee3deb895b658d7d201094730d117c29675 Mon Sep 17 00:00:00 2001 From: Lennart Kats Date: Sat, 1 Aug 2015 12:55:23 +0000 Subject: [PATCH] Only show git login/signup for supported domains --- node_modules/c9/urls.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/node_modules/c9/urls.js b/node_modules/c9/urls.js index 19f9e35c..a1b000af 100644 --- a/node_modules/c9/urls.js +++ b/node_modules/c9/urls.js @@ -37,7 +37,7 @@ plugin.getBaseUrl = function(req, sourceBaseUrlPattern, targetBaseUrlPattern) { if (typeof sourceHost !== "string") throw new Error("Not a valid request object: " + req); if (!sourceBaseUrlPattern) - throw new Error("getBaseUrls() requires at least two arguments"); + throw new Error("getBaseUrl() requires at least two arguments"); var sourceHostMatcher = sourceBaseUrlPattern .replace(/^https?:\/\//, "")