Welcome to mirror list, hosted at ThFree Co, Russian Federation.

api_utils.js « api « javascripts « assets « app - gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: 42eb5e7aaf340841129d5221ff34e61616414f5f (plain)
1
2
3
4
5
import { joinPaths } from '../lib/utils/url_utility';

export function buildApiUrl(url) {
  return joinPaths('/', gon.relative_url_root || '', url.replace(':version', gon.api_version));
}