Sha256: 2818842d4e510f7bb40818cc4212d5367d1865205be5d830f1115e4882aed703

Contents?: true

Size: 713 Bytes

Versions: 4

Compression:

Stored size: 713 Bytes

Contents

require File.dirname(__FILE__) + '/config/boot'
require 'db'
require 'pact_broker/api'
require 'rack/hal_browser'
require 'pact_broker/ui/controllers/relationships'


use Rack::Static, :urls => ["/stylesheets", "/css", "/fonts", "/js"], :root => "public"
use Rack::HalBrowser::Redirect, :exclude => ['/diagnostic', '/trace','/index','/force.csv']

run Rack::URLMap.new(
  '/ui/relationships' => PactBroker::UI::Controllers::Relationships,
  '/index.html' => Rack::File.new("#{File.dirname(__FILE__)}/assets/index.html"),
  '/index2.html' => Rack::File.new("#{File.dirname(__FILE__)}/assets/index2.html"),
  '/force.csv' => Rack::File.new("#{File.dirname(__FILE__)}/assets/force.csv"),
  '/' => PactBroker::API,
)

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
pact_broker-1.0.0 config.ru
pact_broker-1.0.0.alpha3 config.ru
pact_broker-1.0.0.alpha2 config.ru
pact_broker-1.0.0.alpha1 config.ru