Skip to content

Commit

Permalink
port
Browse files Browse the repository at this point in the history
  • Loading branch information
yuuwe-n committed Dec 26, 2022
1 parent c1961e2 commit 93630b5
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion rmp.go
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,12 @@ func main() {
router.POST("/get_rank", getRank)
// router.GET("/get_courses", getCourses) API

http.ListenAndServe(":8081", router)
err := http.ListenAndServe(":80", router)

if err != nil {
fmt.Println(err)
fmt.Println("ERROR")
}
}

func getRank(writer http.ResponseWriter, request *http.Request, params httprouter.Params) {
Expand Down

0 comments on commit 93630b5

Please sign in to comment.