refactor: replace device auth flow with effect
This commit is contained in:
9
apps/tui/src/config.ts
Normal file
9
apps/tui/src/config.ts
Normal file
@@ -0,0 +1,9 @@
|
||||
import { join } from "path";
|
||||
import { homedir } from "os";
|
||||
|
||||
const PATH = join(homedir(), ".local", "share", "money");
|
||||
const AUTH_PATH = join(PATH, "auth.json");
|
||||
|
||||
export const config = {
|
||||
authPath: AUTH_PATH,
|
||||
};
|
||||
Reference in New Issue
Block a user