[READ-ONLY] Mirror of https://github.com/FoxxMD/komodo-import. Import existing compose stacks into Komodo foxxmd.github.io/komodo-import
compose docker import komodo toml
0

Configure Feed

Select the types of activity you want to include in your feed.

fix: Remove trailing slash from komodo api base url

FoxxMD (Sep 3, 2025, 5:00 PM UTC) fd73382c c13dd1af

+3 -2
+3 -2
src/common/KomodoApi.ts
··· 44 44 if (isUndefinedOrEmptyString(process.env.KOMODO_URL)) { 45 45 throw new SimpleError(`Cannot use Komodo API because env KOMODO_URL is missing`); 46 46 } 47 - this.logger.verbose(`KOMODO_URL: ${process.env.KOMODO_URL} | Normalized: ${this.urlData.url.toString()}`); 47 + this.logger.verbose(`KOMODO_URL: ${process.env.KOMODO_URL} | Normalized: ${this.urlData.url.toString().replace(/\/$/, '')}`); 48 48 49 - this.api = KomodoClient(this.urlData.url.toString(), { 49 + // remove any trailing slash or calls may result in a 405 50 + this.api = KomodoClient(this.urlData.url.toString().replace(/\/$/, ''), { 50 51 type: "api-key", 51 52 params: { 52 53 key: process.env.API_KEY,