Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.
import { ActiveModelAdapter } from 'active-model-adapter';
export default ActiveModelAdapter.extend({
host: 'http://staging.vestorly.com',
namespace: 'api/v3/reader/publishers/infinite-scroll'
});
import { ActiveModelAdapter } from 'active-model-adapter';
export default ActiveModelAdapter.extend({
host: EmberENV.apiBaseUrl,
shouldBackgroundReloadRecord: function() {
return false;
},
shouldReloadAll: function() {
return true;
}
});