mirror of
https://github.com/DeNNiiInc/dbgate.git
synced 2026-04-18 13:46:00 +00:00
runAsPortal - connections from env variables, cannot be changed
This commit is contained in:
8
packages/api/src/controllers/config.js
Normal file
8
packages/api/src/controllers/config.js
Normal file
@@ -0,0 +1,8 @@
|
||||
module.exports = {
|
||||
get_meta: 'get',
|
||||
async get() {
|
||||
return {
|
||||
runAsPortal: !!process.env.CONNECTIONS,
|
||||
};
|
||||
},
|
||||
};
|
||||
Reference in New Issue
Block a user