mirror of
https://github.com/immich-app/immich.git
synced 2025-12-01 03:39:43 +09:00
fix(web): previous url in person page (#5071)
This commit is contained in:
@@ -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;
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user