From 39ad0e614f6c97595710b4d8f535b41f0d83aa0e Mon Sep 17 00:00:00 2001 From: Brian Picciano Date: Thu, 5 May 2022 20:57:17 -0600 Subject: Use envvars to configure srv --- srv/mailinglist/mailinglist.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'srv/mailinglist') diff --git a/srv/mailinglist/mailinglist.go b/srv/mailinglist/mailinglist.go index 60c1174..fc6e014 100644 --- a/srv/mailinglist/mailinglist.go +++ b/srv/mailinglist/mailinglist.go @@ -53,7 +53,7 @@ type Params struct { // SetupCfg implement the cfg.Cfger interface. func (p *Params) SetupCfg(cfg *cfg.Cfg) { - publicURLStr := cfg.String("public-url", "http://localhost:4000", "URL this service is accessible at") + publicURLStr := cfg.String("ml-public-url", "http://localhost:4000", "URL this service is accessible at") cfg.OnInit(func(ctx context.Context) error { var err error -- cgit v1.2.3