Compare commits

...

2 commits

Author SHA1 Message Date
Cipher Vance
4036a6fc49 changed port to 5080 2025-09-19 21:00:56 -05:00
Cipher Vance
9f471905b5 change group to api not auth 2025-09-19 21:00:46 -05:00
2 changed files with 2 additions and 2 deletions

View file

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

View file

@ -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))