document.cookie = 'cookie1=test; expires=Sun, 1 Jan 2023 00:00:00 UTC; path=/'
document.cookie = 'cookie1=test; expires=Sun, 1 Jan 2023 00:00:00 UTC; path=/en'
both of the above are working, I can see cookie being set in the chrome console(Application)
document.cookie = 'cookie1=test; expires=Sun, 1 Jan 2023 00:00:00 UTC; path=/en/index/1.html'
but setting the path to subfolders is not working. Any suggestion for this?