diff --git a/cmd/proxy/actions/home.go b/cmd/proxy/actions/home.go index aad95a99..ee9a7741 100644 --- a/cmd/proxy/actions/home.go +++ b/cmd/proxy/actions/home.go @@ -47,8 +47,8 @@ const homepage = `
GOPROXY={{ .Host }},direct
{{ if .NoSumPatterns }}

Excluding checksum database

-

Use the following GONOSUM environment variable to exclude checksum database:

-
GONOSUM={{ .NoSumPatterns }}
+

Use the following GONOSUMDB environment variable to exclude checksum database:

+
GONOSUMDB={{ .NoSumPatterns }}
{{ end }}

How to use the Athens API

diff --git a/docs/content/configuration/home-template.md b/docs/content/configuration/home-template.md index b1db07e7..84e93848 100644 --- a/docs/content/configuration/home-template.md +++ b/docs/content/configuration/home-template.md @@ -61,8 +61,8 @@ For more advanced formatting read more about [Go HTML templates](https://pkg.go.
GOPROXY={{ .Host }},direct
{{ if .NoSumPatterns }}

Excluding checksum database

-

Use the following GONOSUM environment variable to exclude checksum database:

-
GONOSUM={{ .NoSumPatterns }}
+

Use the following GONOSUMDB environment variable to exclude checksum database:

+
GONOSUMDB={{ .NoSumPatterns }}
{{ end }}

How to use the Athens API