Gerrit config: Make the apiBaseUrl optional

If the apiBaseUrl is not set assume that the gerrit instance
uses https and can be reached on the address specified by the
"host" option.

Signed-off-by: Niklas Aronsson <niklasar@axis.com>
This commit is contained in:
Niklas Aronsson
2022-03-11 13:30:35 +01:00
parent 02c84fb32f
commit b0c0fccacf
6 changed files with 31 additions and 12 deletions
+1 -1
View File
@@ -68,7 +68,7 @@ export interface Config {
*/
host: string;
/**
* The base url for the Gerrit API.
* The base url for the Gerrit instance.
* @visibility frontend
*/
apiBaseUrl?: string;