Compare commits

..

3 Commits

Author SHA1 Message Date
httpjamesm 56c9e4b196 version 1.10.1 2023-09-28 13:54:28 -04:00
httpjamesm 16828585ac feat: allow stackoverflow.com/q/ in posthome (#66) 2023-09-28 13:54:13 -04:00
Bnyro cf89be2a48 fix: redirect shortened 'a' URLs (#65) 2023-09-28 13:26:34 -04:00
2 changed files with 2 additions and 1 deletions
+1 -1
View File
@@ -1,3 +1,3 @@
package config
var Version = "1.10.0"
var Version = "1.10.1"
+1
View File
@@ -51,6 +51,7 @@ func main() {
r.POST("/", routes.PostHome)
r.GET("/a/:id", routes.RedirectShortenedOverflowURL)
r.GET("/q/:id", routes.RedirectShortenedOverflowURL)
r.GET("/questions/:id", func(c *gin.Context) {
// redirect user to the question with the title