diff --git a/changedetectionio/static/js/toggle-theme.js b/changedetectionio/static/js/toggle-theme.js index 5147edd9..ca11ec99 100644 --- a/changedetectionio/static/js/toggle-theme.js +++ b/changedetectionio/static/js/toggle-theme.js @@ -19,6 +19,6 @@ $(document).ready(function () { }; const setCookieValue = (value) => { - document.cookie = `css_dark_mode=${value};max-age=31536000` + document.cookie = `css_dark_mode=${value};max-age=31536000;path=/` } });