remove tor, remove bitcoing, fix contact us

This commit is contained in:
Andrea Spacca
2021-12-15 09:34:04 +01:00
parent 6f49951bc0
commit 0953383523
7 changed files with 25 additions and 1 deletions

View File

@ -98,6 +98,12 @@ var globalFlags = []cli.Flag{
Value: "",
EnvVar: "PROXY_PORT",
},
cli.StringFlag{
Name: "email-contact",
Usage: "email address to link in Contact Us (front end)",
Value: "",
EnvVar: "EMAIL_CONTACT",
},
cli.StringFlag{
Name: "ga-key",
Usage: "key for google analytics (front end)",
@ -348,6 +354,10 @@ func New() *Cmd {
options = append(options, server.ProxyPort(v))
}
if v := c.String("email-contact"); v != "" {
options = append(options, server.EmailContact(v))
}
if v := c.String("ga-key"); v != "" {
options = append(options, server.GoogleAnalytics(v))
}