changed version endpoint
This commit is contained in:
@@ -1,7 +1,7 @@
|
|||||||
# Used when creating a JWT. It can be anything.
|
# Used when creating a JWT. It can be anything.
|
||||||
API_SECRET=nyEX8BZ44KqTXeV2
|
API_SECRET=nyEX8BZ44KqTXeV2
|
||||||
|
|
||||||
API_PORT=8111
|
API_PORT=3800
|
||||||
API_RELEASE="Desenvolvimento"
|
API_RELEASE="Desenvolvimento"
|
||||||
DB_HOST=191.252.214.157
|
DB_HOST=191.252.214.157
|
||||||
DB_DRIVER=postgres
|
DB_DRIVER=postgres
|
||||||
|
|||||||
@@ -4,7 +4,7 @@ import "github.com/gofiber/fiber/v2"
|
|||||||
|
|
||||||
func Setup(app *fiber.App) {
|
func Setup(app *fiber.App) {
|
||||||
|
|
||||||
app.Get("/", GetVersion)
|
app.Get("/version", GetVersion)
|
||||||
|
|
||||||
app.Post("/login", Login)
|
app.Post("/login", Login)
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user