From fe3f416f54319e01abd593e7651847e35f115176 Mon Sep 17 00:00:00 2001 From: Ayo Date: Fri, 8 Aug 2025 21:54:57 +0200 Subject: [PATCH] chore: add TODO --- modules/tauri/runtime/storage.ts | 7 +++++++ 1 file changed, 7 insertions(+) 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()