diff options
author | Adam Tauber <asciimoo@gmail.com> | 2015-01-27 20:00:17 +0100 |
---|---|---|
committer | Adam Tauber <asciimoo@gmail.com> | 2015-01-27 20:00:17 +0100 |
commit | bac98a02cbca8083c1dfcaf54c55be2bcfb0576b (patch) | |
tree | 7cb34ba64a8ec460769aa925dd779be7fdd40e37 /searx/webapp.py | |
parent | dafb49c804348ea930298788b73bb63dfeb6da1c (diff) | |
download | searxng-bac98a02cbca8083c1dfcaf54c55be2bcfb0576b.tar.gz searxng-bac98a02cbca8083c1dfcaf54c55be2bcfb0576b.zip |
[mod] reduce cookie expirity time - fixes #204
Diffstat (limited to 'searx/webapp.py')
-rw-r--r-- | searx/webapp.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/searx/webapp.py b/searx/webapp.py index 65f70b0ea..04854a14b 100644 --- a/searx/webapp.py +++ b/searx/webapp.py @@ -91,7 +91,7 @@ for indice, theme in enumerate(themes): for (dirpath, dirnames, filenames) in os.walk(theme_img_path): global_favicons[indice].extend(filenames) -cookie_max_age = 60 * 60 * 24 * 365 * 23 # 23 years +cookie_max_age = 60 * 60 * 24 * 365 * 5 # 5 years @babel.localeselector |