Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 3 additions & 1 deletion main.go
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,8 @@ import (
"github.com/gin-gonic/gin"
)

const HTTP_ENDPOINT = ":3000"

var router *gin.Engine

func main() {
Expand All @@ -25,7 +27,7 @@ func main() {
initializeRoutes()

// Start serving the application
router.Run()
router.Run(HTTP_ENDPOINT)
}

// Render one of HTML, JSON or CSV based on the 'Accept' header of the request
Expand Down