diff --git a/routes/routes.go b/routes/routes.go index f1b1286..b309054 100644 --- a/routes/routes.go +++ b/routes/routes.go @@ -216,7 +216,7 @@ func (d *deps) FileContent(w http.ResponseWriter, r *http.Request) { data["ref"] = ref data["desc"] = getDescription(path) data["path"] = treePath - data["raw"] = fmt.Sprintf("/%s/blob/raw/%s/%s", name, ref, treePath) + data["raw"] = fmt.Sprintf("/%s/raw/%s/%s", name, ref, treePath) d.showFile(contents, data, w) return