Sha256: 98226f00157cb62c42341af331c590e9a878df0a5d09a2a566f7dd3a02a980e7
Contents?: true
Size: 661 Bytes
Versions: 1
Compression:
Stored size: 661 Bytes
Contents
class WebAdminApp < Sinatra::Base include Splash::Config include Splash::Helpers include Splash::Exiter include Splash::Loggers include Splash::Daemon::Controller include Splash::Logs include Splash::Processes set :server, 'thin' set :port, get_config.webadmin_port set :bind, get_config.webadmin_ip set :static, :enable set :public_folder, search_file_in_gem("prometheus-splash", 'lib/splash/webadmin/portal/public') set :views, search_file_in_gem("prometheus-splash", "lib/splash/webadmin/portal/views") before do rehash_config end end require 'splash/webadmin/portal/init' require 'splash/webadmin/api/routes/init'
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
prometheus-splash-0.8.4 | lib/splash/webadmin/main.rb |