summaryrefslogtreecommitdiff
path: root/srv/mailinglist/mailinglist.go
diff options
context:
space:
mode:
authorBrian Picciano <mediocregopher@gmail.com>2022-05-05 20:57:17 -0600
committerBrian Picciano <mediocregopher@gmail.com>2022-05-05 20:57:17 -0600
commit39ad0e614f6c97595710b4d8f535b41f0d83aa0e (patch)
tree6774b7a817b771b6d88562c66398f6e671123804 /srv/mailinglist/mailinglist.go
parent5c247b6f2907e8c4da5a66fa2192fcba95e100f2 (diff)
Use envvars to configure srv
Diffstat (limited to 'srv/mailinglist/mailinglist.go')
-rw-r--r--srv/mailinglist/mailinglist.go2
1 files changed, 1 insertions, 1 deletions
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