config.ru in shutterbug-0.0.11 vs config.ru in shutterbug-0.1.0
- old
+ new
@@ -7,12 +7,14 @@
resource '/shutterbug/*', :headers => :any, :methods => :any
end
end
use Shutterbug::Rackapp do |config|
- config.uri_prefix = "http://localhost:9292"
- config.path_prefix = "/shutterbug"
+ 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