chore: Implement redirection to external Immich URL if set

This commit is contained in:
sai80082 committed 2024-08-28 14:37:54 +05:30
1 parent bcc62f37d8
commit cc1c1ff6d5
4 files changed
+7 -2

No files matched your search

+2
View File
@@ -2,10 +2,12 @@ import { createContext, useContext } from "react";
interface ConfigContextType {
immichURL: string;
exImmichUrl: string;
}
const ConfigContext = createContext<ConfigContextType>({
immichURL: "",
exImmichUrl: "",
});
export default ConfigContext;