Fixed config file path
This commit is contained in:
parent
fdb9e86d9d
commit
4fa6810353
|
@ -32,7 +32,7 @@ async function copyToClipboard(text: string): Promise<void> {
|
||||||
}
|
}
|
||||||
|
|
||||||
async function readPrivateKey(): Promise<string> {
|
async function readPrivateKey(): Promise<string> {
|
||||||
const content = await Deno.readTextFile(".config.json");
|
const content = await Deno.readTextFile(".local/config.json");
|
||||||
const config = JSON.parse(content);
|
const config = JSON.parse(content);
|
||||||
return config.privateKey;
|
return config.privateKey;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue