Files
2026-07-13 12:08:39 +08:00

13 lines
352 B
TypeScript

import { EnvironmentId } from '@/react/portainer/environments/types';
import { buildDockerProxyUrl } from '../../proxy/queries/buildDockerProxyUrl';
import { ServiceId } from '../types';
export function buildUrl(
endpointId: EnvironmentId,
id?: ServiceId,
action?: string
) {
return buildDockerProxyUrl(endpointId, 'services', id, action);
}