From 733cb78284ede08464c7e640b33bbfb5031feee5 Mon Sep 17 00:00:00 2001 From: derek mcquay Date: Tue, 28 Jun 2016 22:52:14 -0700 Subject: [PATCH] fixed typo for vain url Change-Id: Ib36806293cce380146358abe969938fe62e5d431 --- _static/index.html | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/_static/index.html b/_static/index.html index 3d4bd4d..1248825 100644 --- a/_static/index.html +++ b/_static/index.html @@ -46,12 +46,12 @@

 $ export TOKEN=c033-b79f-7fa1
-$ curl -i -H "Authorization: Bearer $TOKEN" -d '{"repo": "https://git.example.com/user/foo"}' https://vain/me/foo 
+$ curl -i -H "Authorization: Bearer $TOKEN" -d '{"repo": "https://git.example.com/user/foo"}' https://go.example.com/foo

Deleting a repository

Using the appropriate token for the route you want to delete:

-$ curl -i -H "Authorization: Bearer $TOKEN" -X DELETE https://vain/me/foo 
+$ curl -i -H "Authorization: Bearer $TOKEN" -X DELETE https://go.example.com/foo

go tool

The go tool doesn't need any modification in order to work, e.g. if vain is hosted on https://go.example.com:

$ go get go.example.com/foo