title: How to change base URL using retrofit2 and koin 2.0
body: <p>I have a query that returns a list of servers, and the user can select the server he needs.</p>
  
  <p>Googling did not help, almost no results.</p>
  
  <p>Tell me how to implement basic URL spoofing in real time using Koin and Retrofit? <p>
  <strong>My Modules:</strong></p>
  
  <pre><code>fun createMainModule(context: Context) = module {
  
      single(named(APP_CONTEXT)) { context }
  
      single(named(RESOURCES)) { context.resources }
  
      single(named(REPOSITORY)) {
          Repository(get(named(RETROFIT)))
      }
  }
  
  fun createNetworkModule(baseUrl: String) = module(override = true) {
  
      single(named(TOKEN_INTERCEPTOR)) { createTokenInterceptor(get(named(DATA_PROVIDER))) }
  
      single(named(OK_HTTP)) { createOkHttpClient(get(named(TOKEN_INTERCEPTOR))) }
  
      single(named(GSON)) { createGson() }
  
      single(named(RETROFIT)) {
          createRetrofit(
              get(named(RESOURCES)),
              get(named(LOG_OUT_SUBJECT)),
              get(named(GSON)),
              baseUrl,
              get(named(OK_HTTP))
          )
  }
  </code></pre>