running as portal

This commit is contained in:
Jan Prochazka
2020-05-17 20:51:16 +02:00
parent a682df9253
commit a5cc7624ad
5 changed files with 53 additions and 17 deletions

View File

@@ -10,9 +10,11 @@ module.exports = {
page: process.env[`PAGE_${name}`],
}))
: null;
const startupPages = process.env.STARTUP_PAGES ? process.env.STARTUP_PAGES.split(',') : [];
return {
runAsPortal: !!process.env.CONNECTIONS,
toolbar,
startupPages,
};
},
};