High performance self-hosted photo and video management solution.
TypeScript backup-toolfluttergoogle-photosgoogle-photos-alternativejavascriptmobile-appnestjsnodejsphoto-galleryphotosphotos-managementself-hostedsveltesveltekittypescriptvideos
fix(web): previous url in person page (#5071)
martin956ca816bcc0
diff --git a/web/src/lib/utils/navigation.ts b/web/src/lib/utils/navigation.tsindex 761ecc1a72..4dfd92ca78 100644--- a/web/src/lib/utils/navigation.ts+++ b/web/src/lib/utils/navigation.ts@@ -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;};