this should fix it

This commit is contained in:
skidoodle 2024-10-10 17:31:06 +02:00
parent 61cbd62ee3
commit c6ac549281
Signed by: albert
GPG key ID: A06E3070D7D55BF2
4 changed files with 13 additions and 1 deletions

View file

2
.gitignore vendored
View file

@ -1 +1 @@
.env
.env.local

11
data/data.json Normal file
View file

@ -0,0 +1,11 @@
[
{
"owner": "displayName",
"timestamp": "2024-10-10T17:30:21.0999256+02:00",
"rank": "",
"upload": "",
"current_upload": "",
"current_download": "",
"points": ""
}
]

View file

@ -34,6 +34,7 @@ var (
)
func init() {
_ = godotenv.Load(".env.local")
godotenv.Load()
nick = os.Getenv("NICK")