fix(backend-git-gateway): double slashes when gateway_url contained a backend (#1712)
This commit is contained in:
parent
812290710f
commit
6de47cdc56
@ -63,7 +63,7 @@ export default class GitGateway {
|
||||
const backendTypeMatches = this.gatewayUrl.match(backendTypeRegex);
|
||||
if (backendTypeMatches) {
|
||||
this.backendType = backendTypeMatches[1];
|
||||
this.gatewayUrl = this.gatewayUrl.replace(backendTypeRegex, '/');
|
||||
this.gatewayUrl = this.gatewayUrl.replace(backendTypeRegex, '');
|
||||
} else {
|
||||
this.backendType = null;
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user