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