mirror of
https://github.com/monkeytypegame/monkeytype.git
synced 2024-11-10 17:04:49 +08:00
saving newly applied config to the database to ensure new keys are set to their default values
should avoid the website refreshing on login multiple times #1210
This commit is contained in:
parent
83c7c6e616
commit
ef74b85d15
1 changed files with 1 additions and 0 deletions
|
@ -117,6 +117,7 @@ export function getDataAndInit() {
|
|||
if ($(".page.pageTest").hasClass("active")) {
|
||||
TestLogic.restart(false, true);
|
||||
}
|
||||
DB.saveConfig(Config);
|
||||
}
|
||||
}
|
||||
UpdateConfig.setDbConfigLoaded(true);
|
||||
|
|
Loading…
Reference in a new issue