Skip to content

Build your personal knowledge base with Trilium Notes

refactor(cookiePath): remove non-working cookiePath option from config-sample.ini

Panagiotis Papadopoulose61532566a8f
diff --git a/config-sample.ini b/config-sample.ini
index b2dace5c88..83f10c4f77 100644
--- a/config-sample.ini
+++ b/config-sample.ini
@@ -27,13 +27,6 @@ trustedReverseProxy=false
[Session]
-# Use this setting to set a custom value for the "Path" Attribute value of the session cookie.
-# This can be useful, when you have several instances running on the same domain, under different paths (e.g. by using a reverse proxy).
-# It prevents your instances from overwriting each others' cookies, allowing you to stay logged in multiple instances simultanteously.
-# E.g. if you have instances running under https://your-domain.com/triliumNext/instanceA and https://your-domain.com/triliumNext/instanceB
-# you would want to set the cookiePath value to "/triliumNext/instanceA" for your first and "/triliumNext/instanceB" for your second instance
-cookiePath=/
-
# Use this setting to set a custom value for the "Max-Age" Attribute of the session cookie.
# This controls how long your session will be valid, before it expires and you need to log in again, when you use the "Remember Me" option.
# Value needs to be entered in Seconds.