The communications platform that puts data protection first.
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
Rocket.Chat/ee/app/license/server/startup.js

13 lines
339 B

import { settings } from '../../../../app/settings/server';
import { callbacks } from '../../../../lib/callbacks';
import { addLicense, setURL } from './license';
settings.watch('Site_Url', (value) => {
if (value) {
setURL(value);
}
});
callbacks.add('workspaceLicenseChanged', (updatedLicense) => {
addLicense(updatedLicense);
});