Compare commits

..

No commits in common. "4036a6fc499c090793d452523bcd1a44f2277638" and "e65b56028e1c66dcf1b46d37851804192cf5492a" have entirely different histories.

2 changed files with 2 additions and 2 deletions

View file

@ -70,7 +70,7 @@ func main() {
// Start server // Start server
port := os.Getenv("PORT") port := os.Getenv("PORT")
if port == "" { if port == "" {
port = "5080" port = "8080"
} }
r.Run(":" + port) r.Run(":" + port)
} }

View file

@ -13,7 +13,7 @@ import (
func RegisterAuthRoutes(r *gin.Engine, db *gorm.DB) { func RegisterAuthRoutes(r *gin.Engine, db *gorm.DB) {
userService := services.NewUserService(db) userService := services.NewUserService(db)
auth := r.Group("/api") auth := r.Group("/auth")
{ {
auth.POST("/signup", signup(userService)) auth.POST("/signup", signup(userService))
auth.POST("/login", login(userService)) auth.POST("/login", login(userService))