aboutsummaryrefslogtreecommitdiff
path: root/http_handle_repo_raw.go
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--http_handle_repo_raw.go7
1 files changed, 2 insertions, 5 deletions
diff --git a/http_handle_repo_raw.go b/http_handle_repo_raw.go
index 1d04f6c..69a6a8c 100644
--- a/http_handle_repo_raw.go
+++ b/http_handle_repo_raw.go
@@ -71,9 +71,6 @@ func handle_repo_raw(w http.ResponseWriter, r *http.Request, params map[string]a
params["files"] = build_display_git_tree(target)
- err = templates.ExecuteTemplate(w, "repo_raw_dir", params)
- if err != nil {
- http.Error(w, "Error rendering template: "+err.Error(), http.StatusInternalServerError)
- return
- }
+ render_template(w, "repo_raw_dir", params)
+ return
}