File tree Expand file tree Collapse file tree 1 file changed +2
-1
lines changed Expand file tree Collapse file tree 1 file changed +2
-1
lines changed Original file line number Diff line number Diff line change @@ -40,6 +40,7 @@ class EmberApp {
4040 this . appName = config . appName ;
4141 this . html = config . html ;
4242 this . sandboxRequire = config . sandboxRequire ;
43+ this . renderMode = config . renderMode ;
4344
4445 if ( process . env . APP_CONFIG ) {
4546 let appConfig = JSON . parse ( process . env . APP_CONFIG ) ;
@@ -300,7 +301,7 @@ class EmberApp {
300301 let shouldRender = options . shouldRender !== undefined ? options . shouldRender : true ;
301302 let renderMode = process . env . EXPERIMENTAL_RENDER_MODE_SERIALIZE
302303 ? 'serialize'
303- : options . renderMode ;
304+ : options . renderMode || this . renderMode ;
304305 let bootOptions = buildBootOptions ( shouldRender , renderMode ) ;
305306 let fastbootInfo = new FastBootInfo ( req , res , {
306307 hostWhitelist : this . hostWhitelist ,
You can’t perform that action at this time.
0 commit comments