Compare commits
No commits in common. "4036a6fc499c090793d452523bcd1a44f2277638" and "e65b56028e1c66dcf1b46d37851804192cf5492a" have entirely different histories.
4036a6fc49
...
e65b56028e
2 changed files with 2 additions and 2 deletions
2
main.go
2
main.go
|
|
@ -70,7 +70,7 @@ func main() {
|
|||
// Start server
|
||||
port := os.Getenv("PORT")
|
||||
if port == "" {
|
||||
port = "5080"
|
||||
port = "8080"
|
||||
}
|
||||
r.Run(":" + port)
|
||||
}
|
||||
|
|
|
|||
|
|
@ -13,7 +13,7 @@ import (
|
|||
func RegisterAuthRoutes(r *gin.Engine, db *gorm.DB) {
|
||||
userService := services.NewUserService(db)
|
||||
|
||||
auth := r.Group("/api")
|
||||
auth := r.Group("/auth")
|
||||
{
|
||||
auth.POST("/signup", signup(userService))
|
||||
auth.POST("/login", login(userService))
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue