diff --git a/packages/api/src/controllers/config.js b/packages/api/src/controllers/config.js index 1515fbf9..94199488 100644 --- a/packages/api/src/controllers/config.js +++ b/packages/api/src/controllers/config.js @@ -143,6 +143,7 @@ module.exports = { async saveLicenseKey({ licenseKey }) { try { await fs.writeFile(path.join(datadir(), 'license.key'), licenseKey); + socket.emitChanged(`config-changed`); } catch (err) { return null; }