Merge "camweb: Correct redirect URL for /gw/"

This commit is contained in:
Brad Fitzpatrick 2013-08-22 05:25:34 +00:00 committed by Gerrit Code Review
commit 97ae2ba095
1 changed files with 1 additions and 1 deletions

View File

@ -189,7 +189,7 @@ func mainHandler(rw http.ResponseWriter, req *http.Request) {
if strings.HasPrefix(relPath, "gw/") {
path := relPath[3:]
http.Redirect(rw, req, "https://camlistore.googlesource.com/camlistore/+/HEAD/"+path, http.StatusFound)
http.Redirect(rw, req, "https://camlistore.googlesource.com/camlistore/+/"+path, http.StatusFound)
return
}