mirror of
https://github.com/dbgate/dbgate
synced 2024-11-08 04:35:58 +00:00
wip
This commit is contained in:
parent
75465bf415
commit
2706297142
@ -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;
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user