aboutsummaryrefslogtreecommitdiff
path: root/handle_repo_raw.go
diff options
context:
space:
mode:
authorRunxi Yu <me@runxiyu.org>2025-02-11 19:57:27 +0800
committerRunxi Yu <me@runxiyu.org>2025-02-11 19:57:27 +0800
commit3e979b6aae5603bf08021a49a95fe6a576496dae (patch)
treeb3c69a38833cafe6840ae66558d311244f29917a /handle_repo_raw.go
parentstyle.css, *.html: Scrolling behavior (diff)
downloadforge-3e979b6aae5603bf08021a49a95fe6a576496dae.tar.gz
forge-3e979b6aae5603bf08021a49a95fe6a576496dae.tar.zst
forge-3e979b6aae5603bf08021a49a95fe6a576496dae.zip
*.go: Reformat
Diffstat (limited to '')
-rw-r--r--handle_repo_raw.go2
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()