diff options
author | bptato <nincsnevem662@gmail.com> | 2023-06-26 12:27:24 +0200 |
---|---|---|
committer | bptato <nincsnevem662@gmail.com> | 2023-06-26 12:27:24 +0200 |
commit | 1a903c2b3f16e63485188b4b8a4b9efb3f6df7cd (patch) | |
tree | 956dd743f725de0cc19d57e5b9f457f0b8a98e1e /doc/config.md | |
parent | 2dc72e8e131d91c4d0b46d3b4d8214a515fe6007 (diff) | |
download | chawan-1a903c2b3f16e63485188b4b8a4b9efb3f6df7cd.tar.gz |
cookie sharing example
Diffstat (limited to 'doc/config.md')
-rw-r--r-- | doc/config.md | 7 |
1 files changed, 7 insertions, 0 deletions
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: |