docfix: use GONOSUMDB on Athens' home page (#2056)

This commit is contained in:
Gerdriaan Mulder
2025-07-19 14:41:09 +02:00
committed by GitHub
parent 47b69500c2
commit 5d36140c5c
2 changed files with 4 additions and 4 deletions
+2 -2
View File
@@ -47,8 +47,8 @@ const homepage = `<!DOCTYPE html>
<pre>GOPROXY={{ .Host }},direct</pre> <pre>GOPROXY={{ .Host }},direct</pre>
{{ if .NoSumPatterns }} {{ if .NoSumPatterns }}
<h3>Excluding checksum database</h3> <h3>Excluding checksum database</h3>
<p>Use the following GONOSUM environment variable to exclude checksum database:</p> <p>Use the following GONOSUMDB environment variable to exclude checksum database:</p>
<pre>GONOSUM={{ .NoSumPatterns }}</pre> <pre>GONOSUMDB={{ .NoSumPatterns }}</pre>
{{ end }} {{ end }}
<h2>How to use the Athens API</h2> <h2>How to use the Athens API</h2>
+2 -2
View File
@@ -61,8 +61,8 @@ For more advanced formatting read more about [Go HTML templates](https://pkg.go.
<pre>GOPROXY={{ .Host }},direct</pre> <pre>GOPROXY={{ .Host }},direct</pre>
{{ if .NoSumPatterns }} {{ if .NoSumPatterns }}
<h3>Excluding checksum database</h3> <h3>Excluding checksum database</h3>
<p>Use the following GONOSUM environment variable to exclude checksum database:</p> <p>Use the following GONOSUMDB environment variable to exclude checksum database:</p>
<pre>GONOSUM={{ .NoSumPatterns }}</pre> <pre>GONOSUMDB={{ .NoSumPatterns }}</pre>
{{ end }} {{ end }}
<h2>How to use the Athens API</h2> <h2>How to use the Athens API</h2>