runAsPortal - connections from env variables, cannot be changed

This commit is contained in:
Jan Prochazka
2020-05-17 08:43:42 +02:00
parent 044d8dc538
commit 0bf44b9a9d
8 changed files with 68 additions and 8 deletions

View File

@@ -0,0 +1,8 @@
module.exports = {
get_meta: 'get',
async get() {
return {
runAsPortal: !!process.env.CONNECTIONS,
};
},
};