config.go
1package pico
2
3import (
4 "github.com/picosh/pico/shared"
5 "github.com/picosh/utils"
6)
7
8func NewConfigSite() *shared.ConfigSite {
9 dbURL := utils.GetEnv("DATABASE_URL", "")
10
11 return &shared.ConfigSite{
12 DbURL: dbURL,
13 Space: "pico",
14 Logger: shared.CreateLogger("pico"),
15 }
16}