chore: new swarm desktop data dir path (#423)
This commit is contained in:
+1
-1
@@ -6,7 +6,7 @@ import open from 'open'
|
||||
import { readFile } from 'node:fs/promises'
|
||||
import { join } from 'node:path'
|
||||
|
||||
const paths = envPaths('bee-desktop')
|
||||
const paths = envPaths('Swarm Desktop', { suffix: '' })
|
||||
const apiKey = await readFile(join(paths.data, 'api-key.txt'), {encoding: 'utf-8'})
|
||||
const url = `http://localhost:3001/?v=${apiKey}#/`
|
||||
|
||||
|
||||
Reference in New Issue
Block a user