mirror of
https://github.com/DeNNiiInc/dbgate.git
synced 2026-04-17 23:45:59 +00:00
wip
This commit is contained in:
@@ -143,6 +143,7 @@ module.exports = {
|
|||||||
async saveLicenseKey({ licenseKey }) {
|
async saveLicenseKey({ licenseKey }) {
|
||||||
try {
|
try {
|
||||||
await fs.writeFile(path.join(datadir(), 'license.key'), licenseKey);
|
await fs.writeFile(path.join(datadir(), 'license.key'), licenseKey);
|
||||||
|
socket.emitChanged(`config-changed`);
|
||||||
} catch (err) {
|
} catch (err) {
|
||||||
return null;
|
return null;
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user