From b9cae0b715ce34cfb0b7f85f023c31ef8ddd54d3 Mon Sep 17 00:00:00 2001 From: "kali kaneko (leap communications)" Date: Tue, 18 Aug 2020 18:05:45 +0200 Subject: [feat] cache authentication token --- pkg/config/unix.go | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'pkg/config') diff --git a/pkg/config/unix.go b/pkg/config/unix.go index 7425f5b..f96f6a6 100644 --- a/pkg/config/unix.go +++ b/pkg/config/unix.go @@ -18,7 +18,8 @@ package config import ( "os" + "path" ) // Path for the config files -var Path = os.Getenv("HOME") + "/.config/leap" +var Path = path.Join(os.Getenv("HOME"), ".config", "leap") -- cgit v1.2.3