1
0
mirror of https://github.com/KubaPro010/fm-dx-webserver.git synced 2026-02-27 06:23:53 +01:00

auth & console bugfixes

This commit is contained in:
NoobishSVK
2024-01-23 23:25:55 +01:00
parent ef0108e608
commit a83231780d
6 changed files with 93 additions and 56 deletions

View File

@@ -197,6 +197,7 @@ var dataToSend = {
country_iso: 'UN',
users: '',
};
var legacyRdsPiBuffer = null;
const initialData = { ...dataToSend };
const resetToDefault = dataToSend => Object.assign(dataToSend, initialData);
@@ -297,5 +298,5 @@ function showOnlineUsers(currentUsers) {
}
module.exports = {
handleData, showOnlineUsers
handleData, showOnlineUsers, dataToSend
};