diff --git a/modules/tauri/runtime/storage.ts b/modules/tauri/runtime/storage.ts index 8495d66a..1531ae02 100644 --- a/modules/tauri/runtime/storage.ts +++ b/modules/tauri/runtime/storage.ts @@ -2,7 +2,14 @@ import { Store } from 'tauri-plugin-store-api' import { createStorage } from 'unstorage' const store = new Store('.servers.dat') + +/** + * TODO: Use redis as storage + * - docs: https://unstorage.unjs.io/drivers/redis + * - then we can probably remove need for `/elk/data` (see docker-compose) + */ const storage = createStorage() + storage.mount('servers', { getKeys() { return store.keys()