We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 80bca92 commit 991becaCopy full SHA for 991beca
packages/fastboot/src/ember-app.js
@@ -40,6 +40,7 @@ class EmberApp {
40
this.appName = config.appName;
41
this.html = config.html;
42
this.sandboxRequire = config.sandboxRequire;
43
+ this.renderMode = config.renderMode;
44
45
if (process.env.APP_CONFIG) {
46
let appConfig = JSON.parse(process.env.APP_CONFIG);
@@ -300,7 +301,7 @@ class EmberApp {
300
301
let shouldRender = options.shouldRender !== undefined ? options.shouldRender : true;
302
let renderMode = process.env.EXPERIMENTAL_RENDER_MODE_SERIALIZE
303
? 'serialize'
- : options.renderMode;
304
+ : options.renderMode || this.renderMode;
305
let bootOptions = buildBootOptions(shouldRender, renderMode);
306
let fastbootInfo = new FastBootInfo(req, res, {
307
hostWhitelist: this.hostWhitelist,
0 commit comments