disable link routes

This commit is contained in:
Ryan Stafford 2024-02-28 06:20:07 -05:00
parent 9d40d02ea7
commit 62dfa54478

View file

@ -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))
@ -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
}