mirror of
https://github.com/samsonjs/immich.git
synced 2026-03-25 09:15:56 +00:00
fix(web): previous url in person page (#5071)
This commit is contained in:
parent
343afea713
commit
956ca816bc
1 changed files with 1 additions and 1 deletions
|
|
@ -1,3 +1,3 @@
|
|||
export const isExternalUrl = (url: string): boolean => {
|
||||
return new URL(url).origin !== location.origin;
|
||||
return new URL(url, window.location.href).origin !== window.location.origin;
|
||||
};
|
||||
|
|
|
|||
Loading…
Reference in a new issue