Sha256: 970321efb6465c4c33f93fd194ae3565c42c2a16ff1bf2bc837ec66150fa2bf3

Contents?: true

Size: 453 Bytes

Versions: 5

Compression:

Stored size: 453 Bytes

Contents

require 'shutterbug'
require 'rack/cors'
use Rack::Cors do
  allow do
    origins '*'
    resource '/shutterbug/*', :headers => :any, :methods => :any
  end
end

use Shutterbug::Rackapp do |config|
  config.uri_prefix   = "http://localhost:9292"
  config.path_prefix  = "/shutterbug"
  config.s3_key       = ENV['S3_KEY']
  config.s3_secret    = ENV['S3_SECRET']
  config.s3_bin       = "ccshutterbugtest"
end

app = Rack::Directory.new "demo"
run app

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
shutterbug-0.2.1 config.ru
shutterbug-0.2.0 config.ru
shutterbug-0.1.2 config.ru
shutterbug-0.1.1 config.ru
shutterbug-0.1.0 config.ru