@@ -8,8 +8,8 @@ appearanceController.toggleDarkMode = async (req, res, next) => {
cur = 'dark';
else if(cur == 'dark')
cur = 'light';
+
res.cookie('appearance', cur, {
- 'domain': config.domain,
'expires': new Date(253402300000000)
});
return res.json({ currentStyle: cur });