aboutsummaryrefslogtreecommitdiff
path: root/auth/router.go
diff options
context:
space:
mode:
authorVidhu Kant Sharma <vidhukant@vidhukant.com>2023-10-04 21:33:42 +0530
committerVidhu Kant Sharma <vidhukant@vidhukant.com>2023-10-04 21:33:42 +0530
commitd8c1d5fedfac65a79490120195e273b5d5fc75e9 (patch)
tree7b2b4c6042c693cdd4c827ea9989cfc1bd82ca5d /auth/router.go
parenta0613bfd790b27f313470bddc08371bcbf54968d (diff)
added basic token refreshingv0.0.10
Diffstat (limited to 'auth/router.go')
-rw-r--r--auth/router.go1
1 files changed, 1 insertions, 0 deletions
diff --git a/auth/router.go b/auth/router.go
index b8d5b0d..9b9d533 100644
--- a/auth/router.go
+++ b/auth/router.go
@@ -26,5 +26,6 @@ func Routes(route *gin.RouterGroup) {
{
g.POST("/signup", handleSignUp)
g.POST("/signin", handleSignIn)
+ g.POST("/refresh", handleRefresh)
}
}