docker ready

This commit is contained in:
Peder Vatn Austad
2024-12-29 14:06:47 +01:00
parent 23a29be059
commit 10b50a9f66
3 changed files with 4 additions and 5 deletions

View File

@@ -1,9 +1,9 @@
{
"database": {
"host": "binders.net",
"host": "localhost",
"port": "5432",
"user": "ti1",
"password": "W7zZTAkVeWs54zQGNka2KgZpusEa68CG",
"password": "",
"dbname": "ti1",
"sslmode": "disable"
},

View File

@@ -3,7 +3,6 @@ package config
import (
"encoding/json"
"fmt"
"log"
"os"
)
@@ -54,7 +53,7 @@ func LoadConfig(file string) (Config, error) {
if temp := os.Getenv("TEMP"); temp != "" {
config.Temp = temp
}
log.Println("Temp value:", config.Temp)
//log.Println("Temp value:", config.Temp)
return config, nil
}