import Resolver from 'resolver';
import routerMap from 'bibliaolvaso/router';

var App = Ember.Application.create({
  //LOG_STACKTRACE_ON_DEPRECATION: true,
  //LOG_BINDINGS:                  true,
  LOG_TRANSITIONS:               true,
  //LOG_TRANSITIONS_INTERNAL:      false,
  LOG_VIEW_LOOKUPS:              true,
  LOG_ACTIVE_GENERATION:         true,
  modulePrefix:                  'bibliaolvaso',
  Resolver:                      Resolver
});

App.Router.map(routerMap);

App.Router.reopen({
  location: 'history'
});

App.ApplicationAdapter = DS.RESTAdapter.extend({
  host: typeof DIST === 'undefined' ? 'http://bibliaolvaso-api.dev' : 'http://api.bibliaolvaso.hu'
});

export default App;

@@ -616,16 +616,63 @@
 'http://
+' + location.hostname.replace('bibliaolvaso', '
 bibliaol
@@ -683,13 +683,10 @@
 -api
-.dev
 '
+)
  : '

Support for testing through xip.io