mirror of
https://github.com/rjNemo/go-wiki
synced 2026-06-06 02:36:40 +00:00
heroku
This commit is contained in:
parent
c99dbf9350
commit
24c955a3e0
1 changed files with 1 additions and 1 deletions
|
|
@ -35,7 +35,7 @@ type Params struct {
|
|||
func NewParams(f string) Params {
|
||||
err := godotenv.Load(f)
|
||||
if err != nil {
|
||||
log.Fatal("Error loading .env file")
|
||||
log.Println("Error loading .env file")
|
||||
}
|
||||
port := getEnvParam("PORT")
|
||||
tmplDir := getEnvParam("TMPLDIR")
|
||||
|
|
|
|||
Loading…
Reference in a new issue