Skip to content

Commit 6fb00f0

Browse files
Add a default state for metadata
1 parent 18d41f0 commit 6fb00f0

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

packages/fastboot/src/ember-app.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -301,7 +301,7 @@ class EmberApp {
301301
let bootOptions = buildBootOptions(shouldRender);
302302
let fastbootInfo = new FastBootInfo(req, res, {
303303
hostWhitelist: this.hostWhitelist,
304-
metadata: options.metadata,
304+
metadata: options.metadata || {},
305305
});
306306

307307
let doc = bootOptions.document;

0 commit comments

Comments
 (0)