|
|
@ -475,8 +475,8 @@ func NewConfigContext(args *CommandLineArgs) error { |
|
|
|
Env = Cfg.Section("").Key("app_mode").MustString("development") |
|
|
|
Env = Cfg.Section("").Key("app_mode").MustString("development") |
|
|
|
InstanceName = Cfg.Section("").Key("instance_name").MustString("unknown_instance_name") |
|
|
|
InstanceName = Cfg.Section("").Key("instance_name").MustString("unknown_instance_name") |
|
|
|
PluginsPath = makeAbsolute(Cfg.Section("paths").Key("plugins").String(), HomePath) |
|
|
|
PluginsPath = makeAbsolute(Cfg.Section("paths").Key("plugins").String(), HomePath) |
|
|
|
DatasourcesPath = makeAbsolute(Cfg.Section("paths").Key("datasources").String(), HomePath) |
|
|
|
DatasourcesPath = Cfg.Section("paths").Key("datasources").String() |
|
|
|
DashboardsPath = makeAbsolute(Cfg.Section("paths").Key("dashboards").String(), HomePath) |
|
|
|
DashboardsPath = Cfg.Section("paths").Key("dashboards").String() |
|
|
|
|
|
|
|
|
|
|
|
server := Cfg.Section("server") |
|
|
|
server := Cfg.Section("server") |
|
|
|
AppUrl, AppSubUrl = parseAppUrlAndSubUrl(server) |
|
|
|
AppUrl, AppSubUrl = parseAppUrlAndSubUrl(server) |
|
|
|