Skip to content

Commit

Permalink
disable link routes
Browse files Browse the repository at this point in the history
  • Loading branch information
rystaf committed Feb 28, 2024
1 parent 9d40d02 commit 62dfa54
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions routes.go
Original file line number Diff line number Diff line change
Expand Up @@ -1560,7 +1560,7 @@ func GetRouter() *httprouter.Router {
router.GET("/:host/create_community", middleware(GetCreateCommunity))
router.POST("/:host/create_community", middleware(UserOp))
router.GET("/:host/communities", middleware(GetCommunities))
router.GET("/:host/link", middleware(GetLink))
//router.GET("/:host/link", middleware(GetLink))
} else {
router.ServeFiles("/_/static/*filepath", http.Dir("public"))
router.GET("/", middleware(GetFrontpage))
Expand Down Expand Up @@ -1593,7 +1593,7 @@ func GetRouter() *httprouter.Router {
router.GET("/create_community", middleware(GetCreateCommunity))
router.POST("/create_community", middleware(UserOp))
router.GET("/communities", middleware(GetCommunities))
router.GET("/link", middleware(GetLink))
//router.GET("/link", middleware(GetLink))
}
return router
}

0 comments on commit 62dfa54

Please sign in to comment.