aboutsummaryrefslogtreecommitdiff
path: root/interfaces/http/http.rb
blob: ec5f1057d28e26594773c67b3515ef4bb41f3ebd (plain)
1
2
3
4
5
6
7
8
9
10
11
12
require 'sinatra/base'
require_relative '../ruby/ruby'

$config = Config.first

class HTTPInterface < Sinatra::Base
  require_relative 'web/web'; use WebInterface
  require_relative 'admin/admin'; use AdminInterface
  # require_relative 'rss/rss'; use RSSInterface
  
  run! if app_file == $0
end