mirror of
https://github.com/ente-io/ente.git
synced 2025-05-24 03:59:22 +00:00
14 lines
244 B
TypeScript
14 lines
244 B
TypeScript
import { haveWindow } from "@/base/env";
|
|
|
|
import localForage from "localforage";
|
|
|
|
if (haveWindow()) {
|
|
localForage.config({
|
|
name: "ente-files",
|
|
version: 1.0,
|
|
storeName: "files",
|
|
});
|
|
}
|
|
|
|
export default localForage;
|