summaryrefslogtreecommitdiff
path: root/searx/webapp.py
diff options
context:
space:
mode:
authorAdam Tauber <asciimoo@gmail.com>2015-01-27 20:00:17 +0100
committerAdam Tauber <asciimoo@gmail.com>2015-01-27 20:00:17 +0100
commitbac98a02cbca8083c1dfcaf54c55be2bcfb0576b (patch)
tree7cb34ba64a8ec460769aa925dd779be7fdd40e37 /searx/webapp.py
parentdafb49c804348ea930298788b73bb63dfeb6da1c (diff)
downloadsearxng-bac98a02cbca8083c1dfcaf54c55be2bcfb0576b.tar.gz
searxng-bac98a02cbca8083c1dfcaf54c55be2bcfb0576b.zip
[mod] reduce cookie expirity time - fixes #204
Diffstat (limited to 'searx/webapp.py')
-rw-r--r--searx/webapp.py2
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