From f2d53ee54e8c9332e3d97372eca1700b37dbfbf5 Mon Sep 17 00:00:00 2001 From: Ayman Bagabas Date: Wed, 5 Apr 2023 15:50:58 -0400 Subject: [PATCH] fix(http): go-get requests should always return 200 --- server/http.go | 76 ++++++++++++++++++++++++++++---------------------- 1 file changed, 43 insertions(+), 33 deletions(-) diff --git a/server/http.go b/server/http.go index 1074a31a97b9f1d4ca72b6ae3947ec96e6b0e42a..60a8650c76adc523fd0963eb74f675f308ee8c24 100644 --- a/server/http.go +++ b/server/http.go @@ -5,6 +5,7 @@ import ( "fmt" "net/http" "net/url" + "path" "path/filepath" "regexp" "strings" @@ -248,43 +249,52 @@ Redirecting to docs at