Skip to content

Commit

Permalink
Enabling ssl by default.
Browse files Browse the repository at this point in the history
  • Loading branch information
jturolla committed Mar 28, 2014
1 parent 4a14dd5 commit 4cbdfdc
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion SVGeocoder/SVGeocoder.m
Original file line number Diff line number Diff line change
Expand Up @@ -128,7 +128,7 @@ + (void)setGoogleMapsAPIKey:(NSString *)key {
- (SVGeocoder*)initWithParameters:(NSMutableDictionary*)parameters completion:(SVGeocoderCompletionHandler)block {
self = [super init];
self.operationCompletionBlock = block;
self.operationRequest = [[NSMutableURLRequest alloc] initWithURL:[NSURL URLWithString:@"http://maps.googleapis.com/maps/api/geocode/json"]];
self.operationRequest = [[NSMutableURLRequest alloc] initWithURL:[NSURL URLWithString:@"https://maps.googleapis.com/maps/api/geocode/json"]];
[self.operationRequest setTimeoutInterval:kSVGeocoderTimeoutInterval];

[parameters setValue:@"true" forKey:@"sensor"];
Expand Down

0 comments on commit 4cbdfdc

Please sign in to comment.