fix Localization Settings not saving server side #2164

Signed-off-by: si458 <simonsmith5521@gmail.com>

si458 committed Jul 16, 2024 at 12:06 UTC 707982a71b75aee0b45511c7239d139a85311504
1 file changed +1 -1
webserver.js
+1 -1
@@ -8757,7 +8757,7 @@ module.exports.CreateWebServer = function (parent, db, args, certificates, doneF
8757 }
8758
8759 // Filter the user web site and only output state that we need to keep
8760 - const acceptableUserWebStateStrings = ['webPageStackMenu', 'notifications', 'deviceView', 'nightMode', 'webPageFullScreen', 'search', 'showRealNames', 'sort', 'deskAspectRatio', 'viewsize', 'DeskControl', 'uiMode', 'footerBar'];
8760 + const acceptableUserWebStateStrings = ['webPageStackMenu', 'notifications', 'deviceView', 'nightMode', 'webPageFullScreen', 'search', 'showRealNames', 'sort', 'deskAspectRatio', 'viewsize', 'DeskControl', 'uiMode', 'footerBar','loctag'];
8761 const acceptableUserWebStateDesktopStrings = ['encoding', 'showfocus', 'showmouse', 'showcad', 'limitFrameRate', 'noMouseRotate', 'quality', 'scaling', 'agentencoding']
8762 obj.filterUserWebState = function (state) {
8763 if (typeof state == 'string') { try { state = JSON.parse(state); } catch (ex) { return null; } }