7 lines
308 B
TypeScript
7 lines
308 B
TypeScript
import { EnvironmentId } from '@/react/portainer/environments/types';
|
|
import { buildDockerProxyUrl } from '@/react/docker/proxy/queries/buildDockerProxyUrl';
|
|
|
|
export function buildUrl(environmentId: EnvironmentId, id = '', action = '') {
|
|
return buildDockerProxyUrl(environmentId, 'configs', id, action);
|
|
}
|