summaryrefslogtreecommitdiff
path: root/internal/client/router.go
diff options
context:
space:
mode:
authorLibravatar tsmethurst <tobi.smethurst@klarrio.com>2021-03-02 18:26:30 +0100
committerLibravatar tsmethurst <tobi.smethurst@klarrio.com>2021-03-02 18:26:30 +0100
commitd8e8d44d4778bfd3f9e63488edc696e004edfb15 (patch)
treef5783e994de7abf968866e904741e112c124864e /internal/client/router.go
parentMessing around a bit (diff)
downloadgotosocial-d8e8d44d4778bfd3f9e63488edc696e004edfb15.tar.xz
start implementing db interface
Diffstat (limited to 'internal/client/router.go')
-rw-r--r--internal/client/router.go4
1 files changed, 2 insertions, 2 deletions
diff --git a/internal/client/router.go b/internal/client/router.go
index b7c68ad0e..cf00419c5 100644
--- a/internal/client/router.go
+++ b/internal/client/router.go
@@ -39,9 +39,9 @@ func (r *router) Route() {
ginRouter.LoadHTMLGlob("web/template/*")
apiGroup := ginRouter.Group("/api")
-
+
v1 := apiGroup.Group("/v1")
-
+
statusesGroup := v1.Group("/statuses")
statusesGroup.GET(":id", statusGet)
ginRouter.Run()