From 9f471905b534bc3b5eaff03c573b2626c6590512 Mon Sep 17 00:00:00 2001 From: Cipher Vance Date: Fri, 19 Sep 2025 21:00:46 -0500 Subject: [PATCH 1/2] change group to api not auth --- routes/auth.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/routes/auth.go b/routes/auth.go index 5e290b8..1818c5e 100644 --- a/routes/auth.go +++ b/routes/auth.go @@ -13,7 +13,7 @@ import ( func RegisterAuthRoutes(r *gin.Engine, db *gorm.DB) { userService := services.NewUserService(db) - auth := r.Group("/auth") + auth := r.Group("/api") { auth.POST("/signup", signup(userService)) auth.POST("/login", login(userService)) From 4036a6fc499c090793d452523bcd1a44f2277638 Mon Sep 17 00:00:00 2001 From: Cipher Vance Date: Fri, 19 Sep 2025 21:00:56 -0500 Subject: [PATCH 2/2] changed port to 5080 --- main.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/main.go b/main.go index 08341e5..6c0231c 100644 --- a/main.go +++ b/main.go @@ -70,7 +70,7 @@ func main() { // Start server port := os.Getenv("PORT") if port == "" { - port = "8080" + port = "5080" } r.Run(":" + port) }