Merge branch 'raw_link_fix' into nilix
This commit is contained in:
commit
adb3eb14bc
1 changed files with 1 additions and 1 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue