From 20c692547066f1fc1ba2695cddb5570c78f814a8 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Torkel=20=C3=96degaard?= Date: Fri, 30 Jan 2015 14:21:32 +0100 Subject: [PATCH] Fixed sub url setting bug --- ' | 46 ++++++++++++++++++++++++++++++++++++++++++ grafana | 2 +- pkg/setting/setting.go | 2 +- 3 files changed, 48 insertions(+), 2 deletions(-) create mode 100644 ' diff --git a/' b/' new file mode 100644 index 00000000000..33a5fbfaf00 --- /dev/null +++ b/' @@ -0,0 +1,46 @@ +
+
+
+
+
    +
  • + Relative time options +
  • +
  • + +
  • +
  • + Until +
  • +
  • + now- +
  • +
  • + +
  • +
+
+
+
+
    +
  • + Auto-refresh options +
  • +
  • + +
  • +
+
+
+
+ +

+
+ + For these changes to fully take effect save and reload the dashboard. + +

+
diff --git a/grafana b/grafana index 740709da049..465c72d98ef 160000 --- a/grafana +++ b/grafana @@ -1 +1 @@ -Subproject commit 740709da0493536269adfe1cafd0b93d975b02a2 +Subproject commit 465c72d98ef80127ce75a32254ead85b0efd68a7 diff --git a/pkg/setting/setting.go b/pkg/setting/setting.go index 41e1d89b4a5..3b65790295e 100644 --- a/pkg/setting/setting.go +++ b/pkg/setting/setting.go @@ -139,7 +139,7 @@ func parseAppUrlAndSubUrl(section *ini.Section) (string, string) { } // Check if has app suburl. - url, err := url.Parse(AppUrl) + url, err := url.Parse(appUrl) if err != nil { log.Fatal(4, "Invalid root_url(%s): %s", appUrl, err) }