Skip to content

Commit

Permalink
feat: dynamically set the port number (#4)
Browse files Browse the repository at this point in the history
* feat: dynamically set the port number

* fix: use 6800 as fallback

---------

Co-authored-by: Vincent Young <[email protected]>
  • Loading branch information
geekdada and missuo authored Apr 20, 2024
1 parent 9a5bfde commit af71e0c
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions main.go
Original file line number Diff line number Diff line change
Expand Up @@ -369,5 +369,6 @@ func main() {
"message": "Path not found",
})
})

r.Run(":" + port)
}

0 comments on commit af71e0c

Please sign in to comment.