mirror of
https://github.com/gomods/athens
synced 2026-02-03 12:10:32 +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>
|
<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>
|
||||||
|
|||||||
@@ -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>
|
||||||
|
|||||||
Reference in New Issue
Block a user