summaryrefslogtreecommitdiff
path: root/index.py
diff options
context:
space:
mode:
authorequinox <equinox@diac24.net>2011-09-27 08:01:14 +0200
committerequinox <equinox@diac24.net>2011-09-27 08:01:14 +0200
commit2066915a49fa45aeb2bc3ed79b7c6e0484b8d0af (patch)
tree9c7028cf5b09f38023fade23a70f485a4d1eea19 /index.py
parent2a13c8256b2b64c3c61e043a1d9268b75a4597a4 (diff)
i18n support
Diffstat (limited to 'index.py')
-rwxr-xr-xindex.py8
1 files changed, 5 insertions, 3 deletions
diff --git a/index.py b/index.py
index 9f78ea0..cc36806 100755
--- a/index.py
+++ b/index.py
@@ -171,15 +171,17 @@ config = {
'/': {
'tools.decode.on': True,
'tools.encode.on': True,
+ 'tools.encode.encoding': 'utf-8',
+ 'tools.encode.add_charset': True,
'tools.gzip.on': True,
'tools.proxy.on': True,
-# 'tools.caching.on': False,
-# 'tools.expires.secs': 0,
-# 'tools.expires.force': True,
},
'/static': {
'tools.staticdir.on': True,
'tools.staticdir.dir': 'static',
+ 'tools.caching.on': True,
+ 'tools.expires.secs': 3600,
+# 'tools.expires.force': True,
},
}