File tree Expand file tree Collapse file tree 2 files changed +6
-1
lines changed
packages/ember-cli-fastboot Expand file tree Collapse file tree 2 files changed +6
-1
lines changed Original file line number Diff line number Diff line change @@ -337,7 +337,10 @@ module.exports = {
337337 }
338338
339339 let fastbootMiddleware = FastBootExpressMiddleware ( {
340- fastboot : this . fastboot
340+ fastboot : this . fastboot ,
341+ visitOptions : {
342+ renderMode : this . fastbootOptions . renderMode
343+ }
341344 } ) ;
342345
343346 fastbootMiddleware ( req , resp , next ) ;
Original file line number Diff line number Diff line change @@ -31,6 +31,7 @@ module.exports = class FastBootConfig extends Plugin {
3131 this . fastbootConfig = { } ;
3232 this . fastbootConfig [ appConfigModule ] = options . appConfig ;
3333 this . _fileToChecksumMap = { } ;
34+ this . renderMode = this . fastbootAppConfig . renderMode ;
3435
3536 if ( this . fastbootAppConfig && this . fastbootAppConfig . htmlFile ) {
3637 this . htmlFile = this . fastbootAppConfig . htmlFile ;
@@ -174,6 +175,7 @@ module.exports = class FastBootConfig extends Plugin {
174175 schemaVersion : LATEST_SCHEMA_VERSION ,
175176 manifest : this . manifest ,
176177 hostWhitelist : this . normalizeHostWhitelist ( ) ,
178+ renderMode : this . renderMode ,
177179 config : this . fastbootConfig ,
178180 appName : this . appName ,
179181 }
You can’t perform that action at this time.
0 commit comments