Skip to content
Snippets Groups Projects
Unverified Commit 8427abcd authored by Cseh Viktor's avatar Cseh Viktor
Browse files

route javitva /api/v1/ -re

parent 1a397f85
Branches
No related tags found
No related merge requests found
...@@ -18,7 +18,7 @@ func main() { ...@@ -18,7 +18,7 @@ func main() {
dbHelper.Dbinit() dbHelper.Dbinit()
router := gin.Default() router := gin.Default()
ur := router.Group("/question") ur := router.Group("/api/v1/question")
ur.GET("", routes.List) ur.GET("", routes.List)
ur.GET("/:id", routes.View) ur.GET("/:id", routes.View)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment