@backstage/integration 1.9.0-next.1 → 1.9.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +15 -0
- package/dist/index.cjs.js +4 -0
- package/dist/index.cjs.js.map +1 -1
- package/dist/index.esm.js +4 -0
- package/dist/index.esm.js.map +1 -1
- package/package.json +3 -3
package/dist/index.esm.js
CHANGED
|
@@ -1403,6 +1403,10 @@ function readGiteaConfig(config) {
|
|
|
1403
1403
|
throw new Error(
|
|
1404
1404
|
`Invalid Gitea integration config, '${host}' is not a valid host`
|
|
1405
1405
|
);
|
|
1406
|
+
} else if (baseUrl && !isValidUrl(baseUrl)) {
|
|
1407
|
+
throw new Error(
|
|
1408
|
+
`Invalid Gitea integration config, '${baseUrl}' is not a valid baseUrl`
|
|
1409
|
+
);
|
|
1406
1410
|
}
|
|
1407
1411
|
if (baseUrl) {
|
|
1408
1412
|
baseUrl = trimEnd(baseUrl, "/");
|