diff options
author | Runxi Yu <me@runxiyu.org> | 2025-02-11 19:57:27 +0800 |
---|---|---|
committer | Runxi Yu <me@runxiyu.org> | 2025-02-11 19:57:27 +0800 |
commit | 3e979b6aae5603bf08021a49a95fe6a576496dae (patch) | |
tree | b3c69a38833cafe6840ae66558d311244f29917a /handle_repo_raw.go | |
parent | style.css, *.html: Scrolling behavior (diff) | |
download | forge-3e979b6aae5603bf08021a49a95fe6a576496dae.tar.gz forge-3e979b6aae5603bf08021a49a95fe6a576496dae.tar.zst forge-3e979b6aae5603bf08021a49a95fe6a576496dae.zip |
*.go: Reformat
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() |