Skip to content

Commit 16d38d3

Browse files
allow / endpoint to be accessed without authenticate
1 parent 8a2d0d9 commit 16d38d3

File tree

3 files changed

+3
-2
lines changed

3 files changed

+3
-2
lines changed

conf/config.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
{
2-
"VERSION": "0.1.3",
2+
"VERSION": "0.1.4",
33
"JWT_EXPIRES_IN_MINUTES": 15,
44
"REFRESH_JWT_EXPIRES_IN_MINUTES": 300
55
}

middlewares/auth.go

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,7 @@ import (
1313

1414
var configuration = conf.GetConfig()
1515
var noNeedAuthRoutes = []string{
16+
"/",
1617
"/auth/authenticate",
1718
"/auth/refreshtoken",
1819
}

version.conf

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
0.1.3
1+
0.1.4

0 commit comments

Comments
 (0)