Skip to content

Commit

Permalink
Strip path part (#32)
Browse files Browse the repository at this point in the history
  • Loading branch information
copyhold authored Jun 27, 2024
1 parent be4587e commit 03961a4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion public/app/features/alerting/unified/utils/url.ts
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ export function createUrl(path: string, queryParams?: string[][] | Record<string
const searchParams = new URLSearchParams(queryParams);
const searchParamsString = searchParams.toString();

return `${config.appSubUrl}${path}${searchParamsString ? `?${searchParamsString}` : ''}`;
return `${path}${searchParamsString ? `?${searchParamsString}` : ''}`;
}

export function createAbsoluteUrl(
Expand Down

0 comments on commit 03961a4

Please sign in to comment.