diff --git a/app/adapters/application.js b/app/adapters/application.js index 07cc5cade..b20584305 100644 --- a/app/adapters/application.js +++ b/app/adapters/application.js @@ -1,6 +1,14 @@ import JSONAPIAdapter from '@ember-data/adapter/json-api'; export default class ApplicationAdapter extends JSONAPIAdapter { + shouldBackgroundReloadAll() { + return false; + } + + shouldBackgroundReloadRecord() { + return false; + } + urlForFindAll(modelName) { const path = this.pathForType(modelName); return `/data/${path}/all.json`; diff --git a/package.json b/package.json index c7190ae6e..6cde38637 100644 --- a/package.json +++ b/package.json @@ -58,6 +58,7 @@ "ember-cli-terser": "^4.0.2", "ember-composable-helpers": "^5.0.0", "ember-data": "~3.28.0", + "ember-data-fastboot": "github:cardstack/ember-data-fastboot", "ember-export-application-global": "^2.0.1", "ember-fetch": "^8.1.1", "ember-href-to": "^5.0.0",