chore: add TODO
This commit is contained in:
parent
69506f7d99
commit
fe3f416f54
1 changed files with 7 additions and 0 deletions
|
@ -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()
|
||||
|
|
Loading…
Reference in a new issue