Browse Source

Fixed settings default and explore path

David Kaltschmidt 7 years ago
parent
commit
25d3ec5bbf
2 changed files with 2 additions and 2 deletions
  1. 1 1
      pkg/api/index.go
  2. 1 1
      pkg/setting/setting.go

+ 1 - 1
pkg/api/index.go

@@ -125,7 +125,7 @@ func setIndexViewData(c *m.ReqContext) (*dtos.IndexViewData, error) {
 			Icon:     "fa fa-rocket",
 			Url:      setting.AppSubUrl + "/explore",
 			Children: []*dtos.NavLink{
-				{Text: "New tab", Icon: "gicon gicon-dashboard-new", Url: setting.AppSubUrl + "/explore/new"},
+				{Text: "New tab", Icon: "gicon gicon-dashboard-new", Url: setting.AppSubUrl + "/explore"},
 			},
 		})
 	}

+ 1 - 1
pkg/setting/setting.go

@@ -613,7 +613,7 @@ func NewConfigContext(args *CommandLineArgs) error {
 	ExecuteAlerts = alerting.Key("execute_alerts").MustBool(true)
 
 	explore := Cfg.Section("explore")
-	ExploreEnabled = explore.Key("enabled").MustBool(true)
+	ExploreEnabled = explore.Key("enabled").MustBool(false)
 
 	readSessionConfig()
 	readSmtpSettings()