fix: #21 baseurl, missing /

This commit is contained in:
IJustDev 2020-12-31 13:52:21 +01:00
parent 290acb15f2
commit 0435ee814e

View File

@ -77,7 +77,7 @@ export class Config implements ConfigTypes {
} }
public get repoApiUrl(): string { public get repoApiUrl(): string {
return this.instanceURL.replace(/\/$/, "") + return this.instanceURL.replace(/\/$/, "") + "/" +
this.baseURL.replace(/\/$/, "") + this.baseURL.replace(/\/$/, "") +
'/api/v1/repos/' + '/api/v1/repos/' +
this.owner + this.owner +