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