Sha256: 165120056d3c63bf166452ecfed9dd5e691286c171e49b2ecc036b6a737de391
Contents?: true
Size: 461 Bytes
Versions: 3
Compression:
Stored size: 461 Bytes
Contents
require 'shutterbug' require 'rack/cors' use Rack::Cors do allow do origins '*' resource '*', :headers => :any, :methods => [:get, :post, :options] 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
3 entries across 3 versions & 1 rubygems
Version | Path |
---|---|
shutterbug-0.5.0 | config.ru |
shutterbug-0.4.3 | config.ru |
shutterbug-0.2.5 | config.ru |