chore: add TODO

This commit is contained in:
Ayo Ayco 2025-08-08 21:54:57 +02:00
parent 69506f7d99
commit fe3f416f54

View file

@ -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()