Skip to content

Commit 4cbdfdc

Browse files
committed
Enabling ssl by default.
1 parent 4a14dd5 commit 4cbdfdc

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

SVGeocoder/SVGeocoder.m

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -128,7 +128,7 @@ + (void)setGoogleMapsAPIKey:(NSString *)key {
128128
- (SVGeocoder*)initWithParameters:(NSMutableDictionary*)parameters completion:(SVGeocoderCompletionHandler)block {
129129
self = [super init];
130130
self.operationCompletionBlock = block;
131-
self.operationRequest = [[NSMutableURLRequest alloc] initWithURL:[NSURL URLWithString:@"http://maps.googleapis.com/maps/api/geocode/json"]];
131+
self.operationRequest = [[NSMutableURLRequest alloc] initWithURL:[NSURL URLWithString:@"https://maps.googleapis.com/maps/api/geocode/json"]];
132132
[self.operationRequest setTimeoutInterval:kSVGeocoderTimeoutInterval];
133133

134134
[parameters setValue:@"true" forKey:@"sensor"];

0 commit comments

Comments
 (0)