From ffc64825ce4cff26e5ec0c582fd51149fd027015 Mon Sep 17 00:00:00 2001 From: Rustam Zagirov Date: Mon, 13 May 2019 19:48:57 +0300 Subject: [PATCH] fix typo (#1223) --- docs/content/configuration/sumdb.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/content/configuration/sumdb.md b/docs/content/configuration/sumdb.md index a9a2d9a5..9f6f0d35 100644 --- a/docs/content/configuration/sumdb.md +++ b/docs/content/configuration/sumdb.md @@ -25,7 +25,7 @@ The reasons for needing a Checksum DB is explained in the linked proposal above. ### Why Proxy a Checksum DB? -This is quite important. Say you are a company that is running an Athens instance, and you don't want the world to konw about where your +This is quite important. Say you are a company that is running an Athens instance, and you don't want the world to know about where your repositories live. For example, say you have a private repo under `github.com/mycompany/secret-repo`. In order to ensure that the Go client does not send a request to `https://sum.golang.org/lookup/github.com/mycompany/secret-repo@v1.0.0` and therefore leaking your private import path to the public, you need to ensure that you tell Go to skip particular import paths as such: @@ -42,4 +42,4 @@ As the Athens company maintainer, you can run Athens with the following configur `NoSumPatterns = ["github.com/mycompany/*] # or comma separted env var: ATHENS_GONOSUM_PATTERNS` -This will ensure that when Go sends a request to ``, Athens will return a 403 and failing the build ensuring that the client knows something is not configured correctly and also never leaking those import paths \ No newline at end of file +This will ensure that when Go sends a request to ``, Athens will return a 403 and failing the build ensuring that the client knows something is not configured correctly and also never leaking those import paths