refactor: remove unused component templates
This commit is contained in:
1 parent
c35d3bb1ae
commit
37fb0b3aca
28 files changed
+156
-313
No files matched your search
@@ -28,8 +28,8 @@ func New() *Server {
|
||||
s.GET("/", router.Home)
|
||||
s.GET("/login", router.Login)
|
||||
s.GET("/register", router.Register)
|
||||
s.GET("/profile", router.Profile)
|
||||
s.GET("/authorize", router.Authorize)
|
||||
// s.GET("/profile", router.Profile)
|
||||
// s.GET("/authorize", router.Authorize)
|
||||
return s
|
||||
}
|
||||
|
||||
|
||||
@@ -9,14 +9,12 @@ import (
|
||||
|
||||
"github.com/onsonr/sonr/app"
|
||||
"github.com/onsonr/sonr/app/cli"
|
||||
"github.com/onsonr/sonr/app/proxy"
|
||||
)
|
||||
|
||||
func main() {
|
||||
rootCmd := NewRootCmd()
|
||||
rootCmd.AddCommand(cli.NewBuildTxnTUICmd())
|
||||
rootCmd.AddCommand(cli.NewExplorerTUICmd())
|
||||
rootCmd.AddCommand(proxy.NewProxyCmd())
|
||||
|
||||
if err := svrcmd.Execute(rootCmd, "", app.DefaultNodeHome); err != nil {
|
||||
log.NewLogger(rootCmd.OutOrStderr()).Error("failure when running app", "err", err)
|
||||
|
||||
Reference in new issue
Block a user