fix #14
1 changed files with 1 additions and 0 deletions
|
|
@ -36,6 +36,7 @@ var Url = os.Getenv("URL")
|
|||
var location *time.Location
|
||||
|
||||
func init() {
|
||||
godotenv.Load("../.env")
|
||||
locEnv := os.Getenv("LOCATION_ENV")
|
||||
if locEnv == "" {
|
||||
locEnv = "UTC"
|
||||
|
|
|
|||
Loading…
Reference in a new issue