Commit f6d90bf1 authored by Valéry Tschopp's avatar Valéry Tschopp

enable :logging

parent 4049b3b4
......@@ -11,6 +11,10 @@ AWS_SECRET_ACCESS_KEY = ENV['AWS_SECRET_ACCESS_KEY']
s3 = Aws::S3::Client.new(region: 'us-east-1', endpoint: S3_ENDPOINT, force_path_style: true, ssl_verify_peer: true)
signer = Aws::S3::Presigner.new({client: s3})
configure do
enable :logging
end
get "/" do
#XXX: try logger
logger.info "S3_BUCKET_NAME: #{S3_BUCKET_NAME}"
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment