Closed reavessm closed 2 years ago
Running 'bee api foo' creates a project, but 'bee run' returns 404 no matter what endpoint you hit.
bee version: 1.12.0 go version: 1.16.15
I wonder if it has something to do with the router.go file being different than the 'bee new' command.
https://github.com/beego/bee/blob/develop/cmd/commands/api/apiapp.go#L124-L154
vs
https://github.com/beego/bee/blob/develop/cmd/commands/new/new.go#L81-L91
I tried this on a different system with a different version of go and it worked. Must be a setup error then...
Running 'bee api foo' creates a project, but 'bee run' returns 404 no matter what endpoint you hit.
bee version: 1.12.0 go version: 1.16.15
I wonder if it has something to do with the router.go file being different than the 'bee new' command.
https://github.com/beego/bee/blob/develop/cmd/commands/api/apiapp.go#L124-L154
vs
https://github.com/beego/bee/blob/develop/cmd/commands/new/new.go#L81-L91