Skip to content

Commit

Permalink
[OSX10.11] configure App Transport Security in order to use HTTP
Browse files Browse the repository at this point in the history
  • Loading branch information
Watson1978 committed Aug 28, 2015
1 parent 1384fd4 commit fd0e6ac
Showing 1 changed file with 12 additions and 0 deletions.
12 changes: 12 additions & 0 deletions osx/FlickrBrowser/Rakefile
Original file line number Diff line number Diff line change
Expand Up @@ -6,4 +6,16 @@ Motion::Project::App.setup do |app|
# Use `rake config' to see complete project settings.
app.name = 'FlickrBrowser'
app.frameworks += ['Quartz', 'PubSub']
app.info_plist['NSAppTransportSecurity'] = {
'NSExceptionDomains' => {
'flickr.com' => {
'NSTemporaryExceptionAllowsInsecureHTTPLoads' => true,
'NSIncludesSubdomains' => true
},
'staticflickr.com' => {
'NSTemporaryExceptionAllowsInsecureHTTPLoads' => true,
'NSIncludesSubdomains' => true
}
}
}
end

0 comments on commit fd0e6ac

Please sign in to comment.