mirror of
https://github.com/DeNNiiInc/dbgate.git
synced 2026-04-18 00:56:02 +00:00
wip
This commit is contained in:
@@ -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;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user