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