help
sophuwu sophie@skisiel.com
Fri, 20 Dec 2024 03:46:34 +0100
1 files changed,
1 insertions(+),
1 deletions(-)
jump to
M
blogs.go
→
blogs.go
@@ -88,7 +88,7 @@ }
// BlogHandler handles requests to the blog page and individual blog posts func BlogHandler(w http.ResponseWriter, r *http.Request) { - path := strings.TrimPrefix(r.URL.Path, "/blog/") + path := strings.TrimPrefix(r.URL.RawPath, "/blog/") if path == "" { blogs, err := GetBlogs() if CheckHttpErr(err, w, r, 500) {