mirror of
https://github.com/portainer/portainer.git
synced 2025-07-23 07:19:41 +02:00
4 lines
138 B
TypeScript
4 lines
138 B
TypeScript
export function buildUrl(webhookId?: string) {
|
|
const baseUrl = '/webhooks';
|
|
return webhookId ? `${baseUrl}/${webhookId}` : baseUrl;
|
|
}
|