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