From 2dc23390764a792a55a2ad875d3e60906b5859aa Mon Sep 17 00:00:00 2001 From: a Date: Tue, 25 Oct 2022 05:56:56 -0500 Subject: [PATCH] fix default config --- cmd/otter/cli/config.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cmd/otter/cli/config.go b/cmd/otter/cli/config.go index f539829..901fbb0 100644 --- a/cmd/otter/cli/config.go +++ b/cmd/otter/cli/config.go @@ -112,7 +112,7 @@ func RootCommand() (*cobra.Command, *httpcfg.HttpCfg) { rootCmd.PersistentFlags().StringVar(&cfg.OtsBeaconApiUrl, "ots.beaconapi.url", "http://localhost:3500", "where the website will make request for beacon api") rootCmd.PersistentFlags().StringVar(&cfg.OtsRpcDaemonUrl, "ots.rpcdaemon.url", "/rpc", "where the website will make request for beacon api") - rootCmd.PersistentFlags().StringVar(&cfg.OtsExternalAssetUrl, "ots.externalasset.url", "/", "where website will make request for assets") + rootCmd.PersistentFlags().StringVar(&cfg.OtsExternalAssetUrl, "ots.externalasset.url", "", "where website will make request for assets") rootCmd.PersistentPreRunE = func(cmd *cobra.Command, args []string) error { if err := debug.SetupCobra(cmd); err != nil {