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'
|
import { createStorage } from 'unstorage'
|
||||||
|
|
||||||
const store = new Store('.servers.dat')
|
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()
|
const storage = createStorage()
|
||||||
|
|
||||||
storage.mount('servers', {
|
storage.mount('servers', {
|
||||||
getKeys() {
|
getKeys() {
|
||||||
return store.keys()
|
return store.keys()
|
||||||
|
|
Loading…
Reference in a new issue