From 1a903c2b3f16e63485188b4b8a4b9efb3f6df7cd Mon Sep 17 00:00:00 2001 From: bptato Date: Mon, 26 Jun 2023 12:27:24 +0200 Subject: cookie sharing example --- doc/config.md | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'doc/config.md') diff --git a/doc/config.md b/doc/config.md index f043541d..98027fbe 100644 --- a/doc/config.md +++ b/doc/config.md @@ -339,6 +339,13 @@ rewrite-url = ''' /* No need to return; URL objects are passed by reference. */ } ''' + +# Allow cookie sharing on *sr.ht domains. +[[siteconf]] +host = '^.*sr\.ht$' +cookie = true +share-cookie-jar = 'sr.ht' +third-party-cookie = '^.*\.sr.ht$' ``` Siteconf options: -- cgit 1.4.1-2-gfad0