You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
|
|
// // UrlManager.swift // GMERemittance // // Created by Sujal on 12/25/17. // Copyright © 2017 Gobal Money Express Co. Ltd. All rights reserved. //
import Foundation
class UrlManager { static let sharedInstance = UrlManager() var version = "v1" var baseURL = "" let baseSocialURL = "" // let liveServerUrl = "https://mobile.japanremit.com:8443/api/" // "https://mobile.japanremit.com:8443/api/" let testUrl = "https://sandboxapi.japanremit.com:8083/api/" //"http://202.166.220.36:8083/api/" // let liveServerUrl = "http://77.68.15.91:1082/api/" let liveServerUrl = "https://mobile.imelondon.co.uk:2086/api/" init() { switch server { case .live: self.baseURL = liveServerUrl case .testLive: self.baseURL = liveServerUrl } } func refreshBaseURL() { switch server { case .live: self.baseURL = liveServerUrl case .testLive: self.baseURL = testUrl } } }
|