Merge branch 'raw_link_fix' into nilix

This commit is contained in:
Iris Lightshard 2023-02-21 21:33:27 -07:00
commit adb3eb14bc

View file

@ -216,7 +216,7 @@ func (d *deps) FileContent(w http.ResponseWriter, r *http.Request) {
data["ref"] = ref data["ref"] = ref
data["desc"] = getDescription(path) data["desc"] = getDescription(path)
data["path"] = treePath 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) d.showFile(contents, data, w)
return return