Skip to content

Commit

Permalink
Add "selectTemplate" to picked opts: subapp -> electrode-react-webapp (
Browse files Browse the repository at this point in the history
  • Loading branch information
christianlent authored Apr 9, 2020
1 parent 612a799 commit 2865ec4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/subapp-server/lib/register-routes.js
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ module.exports = function registerRoutes({ routes, topOpts, server }) {
const routeOptions = Object.assign(
{},
topOpts,
_.pick(route, ["pageTitle", "bundleChunkSelector", "templateFile"])
_.pick(route, ["pageTitle", "bundleChunkSelector", "templateFile", "selectTemplate"])
);

assert(routeOptions.templateFile, `subapp-server: route ${r.name} must define templateFile`);
Expand Down

0 comments on commit 2865ec4

Please sign in to comment.