fix: trailing slash integration url issues (#1571)

This commit is contained in:
Meier Lukas
2024-11-30 10:54:50 +01:00
committed by GitHub
parent d5f76218cd
commit b277f444b2
19 changed files with 126 additions and 129 deletions

View File

@@ -89,9 +89,8 @@ export class DelugeIntegration extends DownloadClientIntegration {
}
private getClient() {
const baseUrl = new URL(this.integration.url).href;
return new Deluge({
baseUrl,
baseUrl: this.url("/").toString(),
password: this.getSecretValue("password"),
});
}