mirror of
https://github.com/immich-app/immich
synced 2025-10-17 18:19:27 +00:00
chore: update deps (#14755)
This commit is contained in:
parent
a03f4f5610
commit
6a855f6331
38 changed files with 4610 additions and 14215 deletions
|
|
@ -9,7 +9,7 @@ export type AssetGridRouteSearchParams = {
|
|||
at: string | null | undefined;
|
||||
};
|
||||
export const isExternalUrl = (url: string): boolean => {
|
||||
return new URL(url, window.location.href).origin !== window.location.origin;
|
||||
return new URL(url, globalThis.location.href).origin !== globalThis.location.origin;
|
||||
};
|
||||
|
||||
export const isPhotosRoute = (route?: string | null) => !!route?.startsWith('/(user)/photos/[[assetId=id]]');
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue