//
//  Constants.swift
//  BikeyProvider
//
//  Created by Pete Smith on 05/06/2016.
//  Copyright © 2016 Pete Smith. All rights reserved.
//

/**
 ### Constants used by the framework
 */
struct Constants {
    
    struct API {
        static let baseURL = "https://api.citybik.es"
        static let networks = "/v2/networks"
        static let requestOptions = "?fields=stations"
    }
}

//
//  Constants.swift
//  BikeyProvider
//
//  Created by Pete Smith on 05/06/2016.
//  Copyright © 2016 Pete Smith. All rights reserved.
//

/**
 ### Constants used by the framework
 */
struct Constants {
    
    struct API {
        static let baseURL = "http://api.citybik.es"
        static let networks = "/v2/networks"
        static let requestOptions = "?fields=stations"
    }
}
--- 
+++ 
@@ -12,7 +12,7 @@
 struct Constants {
     
     struct API {
-        static let baseURL = "http://api.citybik.es"
+        static let baseURL = "https://api.citybik.es"
         static let networks = "/v2/networks"
         static let requestOptions = "?fields=stations"
     }
Update to use HTTPS endpoint
