mirror of https://github.com/abpframework/abp.git
1 changed files with 1 additions and 1 deletions
@ -1,4 +1,4 @@ |
|||
export function getPathName(url: string): string { |
|||
const { pathname } = new URL(url); |
|||
const { pathname } = new URL(url, window.location.origin); |
|||
return pathname; |
|||
} |
|||
|
|||
Loading…
Reference in new issue