mirror of
https://github.com/linuxserver/core.git
synced 2026-02-20 05:07:19 +08:00
Only show git login/signup for supported domains
This commit is contained in:
parent
90666adf05
commit
7431dee3de
2
node_modules/c9/urls.js
generated
vendored
2
node_modules/c9/urls.js
generated
vendored
@ -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?:\/\//, "")
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user