From 02c13c2d61d4b8a5eda1ef020f1f20f562dda532 Mon Sep 17 00:00:00 2001 From: statulr <122219240+statulr@users.noreply.github.com> Date: Thu, 12 Sep 2024 16:25:17 -0400 Subject: [PATCH] update: fixed index.go link --- handlers/index.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/handlers/index.go b/handlers/index.go index 8df3c53..a34ee2d 100644 --- a/handlers/index.go +++ b/handlers/index.go @@ -60,10 +60,10 @@ func Main(w http.ResponseWriter, r *http.Request) { } w.WriteHeader(http.StatusCreated) - w.Write([]byte(fmt.Sprintf("Location: /u/%s", hashUrl))) + w.Write([]byte(fmt.Sprintf("Location: /s/%s", hashUrl))) return } w.WriteHeader(http.StatusCreated) - w.Write([]byte(fmt.Sprintf("Location: /u/%s", hashUrl))) + w.Write([]byte(fmt.Sprintf("Location: /s/%s", hashUrl))) }