Sha256: 37e2c964f9f82741eb6d7fcd439c3a4192397e1cbe8020e840514025eef9f47f

Contents?: true

Size: 573 Bytes

Versions: 2

Compression:

Stored size: 573 Bytes

Contents


class WebAdminApp < Sinatra::Base

  include Splash::Config
  include Splash::Helpers
  include Splash::Exiter
  include Splash::Loggers

  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

2 entries across 2 versions & 1 rubygems

Version Path
prometheus-splash-0.7.0 lib/splash/webadmin/main.rb
prometheus-splash-0.6.1 lib/splash/webadmin/main.rb