kopia lustrzana https://github.com/c9/core
Fix broken cookie
rodzic
eabf2027c5
commit
959d6c275d
|
@ -39,6 +39,7 @@ plugin.getBaseUrl = function(req, sourceBaseUrlPattern, targetBaseUrlPattern) {
|
|||
var sourceHostMatcher = sourceBaseUrlPattern
|
||||
.replace(/^https?:\/\//, "")
|
||||
.replace(/\/.*/, "")
|
||||
.replace(/\./, "\\.")
|
||||
.replace("$DOMAIN", "([^/]+)");
|
||||
var hostMatch = sourceHost.match(sourceHostMatcher);
|
||||
var targetHost;
|
||||
|
|
Ładowanie…
Reference in New Issue