title: contentful.js using Axios is using localhost
body: <p>This is a bit annoying! I am trying to use Contentful SDK for Angular Universal.
  In the documents here:</p>
  
  <p><a href="https://github.com/contentful/contentful.js/blob/master/ADVANCED.md#angular-universal" rel="nofollow noreferrer">https://github.com/contentful/contentful.js/blob/master/ADVANCED.md#angular-universal</a></p>
  
  <p>and as per</p>
  
  <p><a href="https://github.com/patrickhousley/ngx-axios-adapter" rel="nofollow noreferrer">https://github.com/patrickhousley/ngx-axios-adapter</a></p>
  
  <p>I have installed <code>npm install @ngx-axios-adapter/core</code> then I adjusted my service to look like this:</p>
  
  <pre><code>constructor(private readonly axiosAdapter: AxiosAngularAdapterService) {
      this.cdaClient = createClient({
          space: environment.space,
          accessToken: environment.cdaAccessToken,
          // pass the adapter to contentful
          adapter: this.axiosAdapter.adapter,
      });
  }
  </code></pre>
  
  <p>The issue is that it doesn't call the <strong>cdn</strong>: <a href="https://cdn.contentful.com" rel="nofollow noreferrer">https://cdn.contentful.com</a> instead it calls my localhost: <a href="http://localhost:4200" rel="nofollow noreferrer">http://localhost:4200</a> which is really frustrating.
  I am not the only one that has had this issue, but I can't see anyone that has resolved the problem.</p>
  
  <p>I found another question on stack overflow and they decided to invoke the API directly using <strong>HttpClient</strong> the problem I have with this, is that linked entries appear as a separate object, which is no good.</p>
  
  <p>When I dived into the SDK I found some interesting options that I could set, namely <code>host</code> and <code>basePath</code>, but setting these did nothing.
  Then I found a <code>proxy</code> config which expects type <code>AxiosProxyConfig</code> which also has a <code>host</code> paramter.
  I set all of these:</p>
  
  <pre><code>constructor(private readonly axiosAdapter: AxiosAngularAdapterService) {
      this.cdaClient = createClient({
          space: environment.space,
          accessToken: environment.cdaAccessToken,
          host: 'https://cdn.contentful.com',
          basePath: 'something',
          proxy: {
              host: 'https://cdn.contentful.com',
          },
          // pass the adapter to contentful
          adapter: this.axiosAdapter.adapter,
      });
  }
  </code></pre>
  
  <p>And it made no difference what so ever.
  Does anyone know how to fix this?</p>