From 2865ec49ec43575b803abd705e20e5d0c39b066a Mon Sep 17 00:00:00 2001 From: Christian Lent Date: Thu, 9 Apr 2020 00:22:35 -0400 Subject: [PATCH] Add "selectTemplate" to picked opts: subapp -> electrode-react-webapp (#1594) --- packages/subapp-server/lib/register-routes.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/subapp-server/lib/register-routes.js b/packages/subapp-server/lib/register-routes.js index 904b9263f..06273f794 100644 --- a/packages/subapp-server/lib/register-routes.js +++ b/packages/subapp-server/lib/register-routes.js @@ -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`);