0
0
Fork 0
mirror of https://github.com/renovatebot/renovate.git synced 2025-03-15 08:34:54 +00:00
renovatebot_renovate/lib/util/http/jira.ts
2025-02-28 17:17:09 +00:00

18 lines
379 B
TypeScript

import { HttpBase } from './http';
import type { HttpOptions } from './types';
let baseUrl: string;
export function setBaseUrl(url: string): void {
baseUrl = url;
}
export class JiraHttp extends HttpBase {
protected override get baseUrl(): string | undefined {
return baseUrl;
}
constructor(type = 'jira', options?: HttpOptions) {
super(type, options);
}
}