Don't show .env error
This commit is contained in:
parent
6af714f92f
commit
51f9bf4750
5
main.go
5
main.go
|
@ -22,10 +22,7 @@ import (
|
||||||
|
|
||||||
func main() {
|
func main() {
|
||||||
envPath := flag.String("c", ".env", "Path to env file")
|
envPath := flag.String("c", ".env", "Path to env file")
|
||||||
err := godotenv.Load(*envPath)
|
_ := godotenv.Load(*envPath)
|
||||||
if err != nil {
|
|
||||||
fmt.Println(err)
|
|
||||||
}
|
|
||||||
utils.LoadConfig()
|
utils.LoadConfig()
|
||||||
|
|
||||||
pages.InitializeApiClient()
|
pages.InitializeApiClient()
|
||||||
|
|
Loading…
Reference in New Issue