path = File.dirname(__FILE__)
require path + '/dashboards'

map Sinatra::Application.assets_prefix do
  run Sinatra::Application.sprockets
end

run Sinatra::Application
path = File.dirname(__FILE__)
require path + '/dashboards'

Dotenv.load
if ENV['DASHBOARD_AUTH_TOKEN']
  set :auth_token, ENV['DASHBOARD_AUTH_TOKEN']
end

map Sinatra::Application.assets_prefix do
  run Sinatra::Application.sprockets
end

run Sinatra::Application

Add an auth token to trigger dashboard reloads
Add an auth token to trigger dashboard reloads
