mirror of
https://github.com/immich-app/immich.git
synced 2025-11-30 21:29:44 +09:00
fix(web): back button from person detail page (#5047)
* feat: return button to the main page * add album route * feat: do not use explicit routes
This commit is contained in:
3
web/src/lib/utils/navigation.ts
Normal file
3
web/src/lib/utils/navigation.ts
Normal file
@@ -0,0 +1,3 @@
|
||||
export const isExternalUrl = (url: string): boolean => {
|
||||
return new URL(url).origin !== location.origin;
|
||||
};
|
||||
Reference in New Issue
Block a user