mirror of
https://github.com/gomods/athens
synced 2026-02-03 08:40:31 +00:00
docfix: use GONOSUMDB on Athens' home page (#2056)
This commit is contained in:
@@ -47,8 +47,8 @@ const homepage = `<!DOCTYPE html>
|
||||
<pre>GOPROXY={{ .Host }},direct</pre>
|
||||
{{ if .NoSumPatterns }}
|
||||
<h3>Excluding checksum database</h3>
|
||||
<p>Use the following GONOSUM environment variable to exclude checksum database:</p>
|
||||
<pre>GONOSUM={{ .NoSumPatterns }}</pre>
|
||||
<p>Use the following GONOSUMDB environment variable to exclude checksum database:</p>
|
||||
<pre>GONOSUMDB={{ .NoSumPatterns }}</pre>
|
||||
{{ end }}
|
||||
|
||||
<h2>How to use the Athens API</h2>
|
||||
|
||||
@@ -61,8 +61,8 @@ For more advanced formatting read more about [Go HTML templates](https://pkg.go.
|
||||
<pre>GOPROXY={{ .Host }},direct</pre>
|
||||
{{ if .NoSumPatterns }}
|
||||
<h3>Excluding checksum database</h3>
|
||||
<p>Use the following GONOSUM environment variable to exclude checksum database:</p>
|
||||
<pre>GONOSUM={{ .NoSumPatterns }}</pre>
|
||||
<p>Use the following GONOSUMDB environment variable to exclude checksum database:</p>
|
||||
<pre>GONOSUMDB={{ .NoSumPatterns }}</pre>
|
||||
{{ end }}
|
||||
|
||||
<h2>How to use the Athens API</h2>
|
||||
|
||||
Reference in New Issue
Block a user