From 7af68f1c8aa56a5d2dc108fb439e59f1411d1592 Mon Sep 17 00:00:00 2001 From: vlnst Date: Fri, 9 Oct 2026 19:59:59 +0300 Subject: [PATCH] fix: request stackoverflow.com without www for shortened links --- src/routes/shortened.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/routes/shortened.go b/src/routes/shortened.go index 494b5bc..c9ebc4f 100644 --- a/src/routes/shortened.go +++ b/src/routes/shortened.go @@ -23,7 +23,7 @@ func RedirectShortenedOverflowURL(c *gin.Context) { }), ) - domain := "www.stackoverflow.com" + domain := "stackoverflow.com" if strings.Contains(sub, ".") { domain = sub } else if sub != "" {