web frontend for git (tangled's grandpa)
7
fork

Configure Feed

Select the types of activity you want to include in your feed.

re-add accidentally removed code for raw file view

authored by

lillian and committed by
Anirudh Oppiliappan
a13ced49 892ba7e5

+5
+5
routes/routes.go
··· 199 199 } 200 200 201 201 func (d *deps) FileContent(w http.ResponseWriter, r *http.Request) { 202 + var raw bool 203 + if rawParam, err := strconv.ParseBool(r.URL.Query().Get("raw")); err == nil { 204 + raw = rawParam 205 + } 206 + 202 207 name := r.PathValue("name") 203 208 if d.isIgnored(name) { 204 209 d.Write404(w)