Browse Source

fixed typo for vain url

Change-Id: Ib36806293cce380146358abe969938fe62e5d431
Derek McQuay 3 years ago
parent
commit
733cb78284
1 changed files with 2 additions and 2 deletions
  1. 2
    2
      _static/index.html

+ 2
- 2
_static/index.html View File

@@ -46,12 +46,12 @@
46 46
             <p>
47 47
             <pre>
48 48
 $ export TOKEN=c033-b79f-7fa1
49
-$ curl -i -H "Authorization: Bearer $TOKEN" -d '{"repo": "https://git.example.com/user/foo"}' https://vain/me/foo </pre>
49
+$ curl -i -H "Authorization: Bearer $TOKEN" -d '{"repo": "https://git.example.com/user/foo"}' https://go.example.com/foo </pre>
50 50
             </p>
51 51
             <h2>Deleting a repository</h2>
52 52
             <p>Using the appropriate token for the route you want to delete:</p>
53 53
             <pre>
54
-$ curl -i -H "Authorization: Bearer $TOKEN" -X DELETE https://vain/me/foo </pre>
54
+$ curl -i -H "Authorization: Bearer $TOKEN" -X DELETE https://go.example.com/foo </pre>
55 55
 
56 56
             <h2>go tool</h2>
57 57
             <p> The <a href="https://golang.org/cmd/go/#hdr-Download_and_install_packages_and_dependencies">go tool</a> doesn't need any modification in order to work, e.g. if vain is hosted on <code>https://go.example.com</code>: </p> <pre>$ go get go.example.com/foo</pre>

Loading…
Cancel
Save