mirror of
https://github.com/plankanban/planka.git
synced 2025-12-22 01:11:29 +03:00
feat: Allow setting customer panel URL via environment variables
This commit is contained in:
@@ -21,7 +21,10 @@ module.exports = {
|
||||
version: sails.config.custom.version,
|
||||
};
|
||||
if (inputs.user && inputs.user.role === User.Roles.ADMIN) {
|
||||
data.activeUsersLimit = sails.config.custom.activeUsersLimit;
|
||||
Object.assign(data, {
|
||||
activeUsersLimit: sails.config.custom.activeUsersLimit,
|
||||
customerPanelUrl: sails.config.custom.customerPanelUrl,
|
||||
});
|
||||
}
|
||||
|
||||
return data;
|
||||
|
||||
Reference in New Issue
Block a user