From 8427abcd5a07b2cca9ac5eaca5a647b2f7b0857b Mon Sep 17 00:00:00 2001 From: clupus <154858@sch.bme.hu> Date: Mon, 8 Nov 2021 17:11:13 +0100 Subject: [PATCH] route javitva /api/v1/ -re --- main.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/main.go b/main.go index db6396e..2952ad5 100644 --- a/main.go +++ b/main.go @@ -18,7 +18,7 @@ func main() { dbHelper.Dbinit() router := gin.Default() - ur := router.Group("/question") + ur := router.Group("/api/v1/question") ur.GET("", routes.List) ur.GET("/:id", routes.View) -- GitLab