Only show git login/signup for supported domains

This commit is contained in:
Lennart Kats 2015-08-01 12:55:23 +00:00
parent 90666adf05
commit 7431dee3de

2
node_modules/c9/urls.js generated vendored
View File

@ -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?:\/\//, "")