mirror of
https://github.com/httprunner/httprunner.git
synced 2026-05-06 20:32:44 +08:00
refactor: move shoots related server to ext
This commit is contained in:
@@ -13,7 +13,7 @@ var serverCmd = &cobra.Command{
|
||||
Long: `start hrp server, call httprunner by HTTP`,
|
||||
Args: cobra.MinimumNArgs(1),
|
||||
RunE: func(cmd *cobra.Command, args []string) error {
|
||||
return server.NewServer(port)
|
||||
return server.NewRouter().Run(port)
|
||||
},
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user