diff options
Diffstat (limited to 'handle_repo_raw.go')
-rw-r--r-- | handle_repo_raw.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/handle_repo_raw.go b/handle_repo_raw.go index 811fea8..5693660 100644 --- a/handle_repo_raw.go +++ b/handle_repo_raw.go @@ -49,7 +49,7 @@ func handle_repo_raw(w http.ResponseWriter, r *http.Request) { return } if len(raw_path_spec) != 0 && raw_path_spec[len(raw_path_spec)-1] == '/' { - http.Redirect(w, r, "../" + path_spec, http.StatusSeeOther) + http.Redirect(w, r, "../"+path_spec, http.StatusSeeOther) return } file_contents, err := file.Contents() |