lib/splash/webadmin/portal/controllers/proxy.rb in prometheus-splash-0.6.1 vs lib/splash/webadmin/portal/controllers/proxy.rb in prometheus-splash-0.7.0
- old
+ new
@@ -10,10 +10,10 @@
reverse_proxy /^\/prometheus\/?(.*)$/, get_config.prometheus_url
reverse_proxy_options preserve_host: true
end
WebAdminApp.get '/proxy/links' do
- get_menu 4
+ get_menu 5
config = get_config
if config.webadmin_proxy == true then
@proxy = true
@pushgateway_url = "http://#{config.webadmin_ip}:#{config.webadmin_port}/pushgateway"