1
0
Fork 0
mirror of https://github.com/portainer/portainer.git synced 2025-07-28 17:59:45 +02:00
portainer/app/react/docker/services/queries/build-url.ts

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

13 lines
352 B
TypeScript
Raw Normal View History

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);
}