🎨 custom http port

This commit is contained in:
naiba
2020-10-24 21:44:03 +08:00
parent 4ad8a7e61a
commit f34f5ab020
3 changed files with 3 additions and 1 deletions

View File

@@ -45,7 +45,7 @@ func initDB() {
}
func main() {
go controller.ServeWeb(80)
go controller.ServeWeb(dao.Conf.HTTPPort)
go rpc.ServeRPC(5555)
select {}
}