repos / pico

pico services - prose.sh, pastes.sh, imgs.sh, feeds.sh, pgs.sh
git clone https://github.com/picosh/pico.git

pico / pico
Antonio Mika · 08 Oct 24

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}