Fixes: Tour is ended early if started from /doc

Change-Id: I285aaa6874a886445ab879e6ca7b383f09f57968
diff --git a/Changes b/Changes
index 6624645..82d873a 100644
--- a/Changes
+++ b/Changes
@@ -1,4 +1,4 @@
-0.57 2024-10-07
+0.57 2024-10-08
         - Support VCs via URL without queries (diewald)
         - Added translations for regexp and FCSQL (r-wilm)
         - Introduce 'ui-ready' global event (diewald)
@@ -8,6 +8,7 @@
         - Disable sidebar via stash (diewald)
         - Change malt/d for relation default in tour (kupietz)
         - Use 'pubDate eq 2018' as VC example in tour (kupietz)
+        - Fix tour when started from a non-root path (hebasta)
 
 0.56 2024-09-23
         - Improve slim test for plugin support
diff --git a/dev/js/src/session.js b/dev/js/src/session.js
index 4a5c55a..3c9d457 100644
--- a/dev/js/src/session.js
+++ b/dev/js/src/session.js
@@ -63,7 +63,7 @@
       var date = new Date();
       date.setYear(date.getFullYear() + 1);
     */
-    return this._name + '=' + encodeURIComponent(JSON.stringify(this._hash)) + ';SameSite=Lax';
+    return this._name + '=' + encodeURIComponent(JSON.stringify(this._hash)) + ';SameSite=Lax' + ';path=/';
   },