title: How ember consider the host name and path?
body: <p>My Domain - '<a href="http://bharath-1234:8080/folder/folder-id" rel="nofollow noreferrer">http://bharath-1234:8080/folder/folder-id</a>'
  namespace - 'api/1'</p>
  
  <p>I've a folder model which will contain the folder's response and I need to sort the model based on user's sorting. To that I do overwrite the <code>query</code> in folder's adapter. I do expect that my url will be like, <code>http://bharath-1234:8080/api/1/folder/folder-id/folder?sort[folder][last_modified]=desc</code> but it goes like <code>http://bharath-1234:8080/folder/api/1/folder/folder-id/folder?sort[folder][last_modified]=desc</code> this way. I need to cut down the <code>/folder</code> from my API call. </p>
  
  <p>How can I do achieve that?
  router.js</p>
  
  <pre><code>Router.map(function() {
    this.route('folder', {path: 'folder/:fid'});
  });
  
  import ApplicationAdapter from './application';    // No I18N
  
  export default ApplicationAdapter.extend({
  
      query(store, type, query) {
  
          let url = this.get('namespace') + query.filter.value; // No I18N 
  
          return this.ajax(url, 'GET', null); // No I18N
  
  
      }
  
  });
  </code></pre>