pkg/server: fix camlistore.org refs on help page

Change-Id: I11f1b362460f411939a4608ddb83a4027cb12e7e
This commit is contained in:
mpl 2018-09-14 03:21:03 +02:00
parent ad6dae391e
commit b26a440e4b
1 changed files with 5 additions and 5 deletions

View File

@ -39,24 +39,24 @@ const helpHTML string = `<html>
<h2>Help</h2>
<h3>Web User Interface</h3>
<p><a href='https://camlistore.org/doc/search-ui'>Search bar predicates.</a></p>
<p><a href='https://perkeep.org/doc/search-ui'>Search bar predicates.</a></p>
<h3>Client tools</h3>
<p>
You can download the Perkeep command line tools for Linux, Mac, and Windows at:
<ul>
<li><a href="https://camlistore.org/download">camlistore.org/download</a></li>
<li><a href="https://perkeep.org/download">perkeep.org/download</a></li>
</ul>
</p>
<p>You will need to use the following <a href='https://camlistore.org/doc/client-config'>client configuration</a> in order to access this server using the command line tools.</p>
<p>You will need to use the following <a href='https://perkeep.org/doc/client-config'>client configuration</a> in order to access this server using the command line tools.</p>
<pre>{{ .ClientConfigJSON }}</pre>
{{ .SecringDownloadHint }}
<h3>Anything Else?</h3>
<p>See the Perkeep <a href='https://camlistore.org/doc/'>online documentation</a> and <a href='https://camlistore.org/community'>community contacts</a>.</p>
<p>See the Perkeep <a href='https://perkeep.org/doc/'>online documentation</a> and <a href='https://perkeep.org/community'>community contacts</a>.</p>
</body>
</html>`
@ -168,7 +168,7 @@ func (hh *HelpHandler) serveHelpHTML(cc *clientconfig.Config, rw http.ResponseWr
if strings.HasPrefix(hh.serverSecRing, "/gcs/") {
bucketdir := strings.TrimPrefix(hh.serverSecRing, "/gcs/")
bucketdir = strings.TrimSuffix(bucketdir, "/identity-secring.gpg")
hint = template.HTML(fmt.Sprintf("<p>Download your GnuPG secret ring from <a href=\"https://console.developers.google.com/storage/browser/%s/\">https://console.developers.google.com/storage/browser/%s/</a> and place it in your <a href='https://camlistore.org/doc/client-config'>Perkeep client config directory</a>. Keep it private. It's not encrypted or password-protected and anybody in possession of it can create Perkeep claims as your identity.</p>\n",
hint = template.HTML(fmt.Sprintf("<p>Download your GnuPG secret ring from <a href=\"https://console.developers.google.com/storage/browser/%s/\">https://console.developers.google.com/storage/browser/%s/</a> and place it in your <a href='https://perkeep.org/doc/client-config'>Perkeep client config directory</a>. Keep it private. It's not encrypted or password-protected and anybody in possession of it can create Perkeep claims as your identity.</p>\n",
bucketdir, bucketdir))
}