From c6ac549281b804ee99bfda51171a442f0f9d78da Mon Sep 17 00:00:00 2001 From: skidoodle Date: Thu, 10 Oct 2024 17:31:06 +0200 Subject: [PATCH] this should fix it --- .env.example => .env | 0 .gitignore | 2 +- data/data.json | 11 +++++++++++ main.go | 1 + 4 files changed, 13 insertions(+), 1 deletion(-) rename .env.example => .env (100%) create mode 100644 data/data.json diff --git a/.env.example b/.env similarity index 100% rename from .env.example rename to .env diff --git a/.gitignore b/.gitignore index 4c49bd7..11ee758 100644 --- a/.gitignore +++ b/.gitignore @@ -1 +1 @@ -.env +.env.local diff --git a/data/data.json b/data/data.json new file mode 100644 index 0000000..10f31ea --- /dev/null +++ b/data/data.json @@ -0,0 +1,11 @@ +[ + { + "owner": "displayName", + "timestamp": "2024-10-10T17:30:21.0999256+02:00", + "rank": "", + "upload": "", + "current_upload": "", + "current_download": "", + "points": "" + } +] diff --git a/main.go b/main.go index 7147755..80e99b9 100644 --- a/main.go +++ b/main.go @@ -34,6 +34,7 @@ var ( ) func init() { + _ = godotenv.Load(".env.local") godotenv.Load() nick = os.Getenv("NICK")