sophuwu.site > myweb
help
sophuwu sophie@skisiel.com
Fri, 20 Dec 2024 03:46:34 +0100
commit

935078ee3e3b8657953a24ed38c0a5f516fa315a

parent

11e677e14532c81bac30a8b45c76ac7bbc09f222

1 files changed, 1 insertions(+), 1 deletions(-)

jump to
M blogs.goblogs.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) {