aboutsummaryrefslogtreecommitdiffstats
path: root/interfaces/web
diff options
context:
space:
mode:
Diffstat (limited to 'interfaces/web')
-rwxr-xr-xinterfaces/web/cfbe.py6
1 files changed, 5 insertions, 1 deletions
diff --git a/interfaces/web/cfbe.py b/interfaces/web/cfbe.py
index e8d80ca..68c484d 100755
--- a/interfaces/web/cfbe.py
+++ b/interfaces/web/cfbe.py
@@ -32,7 +32,11 @@ options = parse_arguments()
WebInterface = web.WebInterface(path.abspath(options['bug_root']), template_dir)
-cherrypy.config.update({'tools.staticdir.root': path.join(module_dir, 'static')})
+cherrypy.config.update({
+ 'tools.encode.on': True,
+ 'tools.encode.encoding': 'utf8',
+ 'tools.staticdir.root': path.join(module_dir, 'static'),
+ })
app_config = { '/static': { 'tools.staticdir.on': True,
'tools.staticdir.dir': '', } }
cherrypy.quickstart(WebInterface, '/', app_config)