aboutsummaryrefslogtreecommitdiffstats
path: root/cfbe.py
diff options
context:
space:
mode:
Diffstat (limited to 'cfbe.py')
-rwxr-xr-xcfbe.py6
1 files changed, 5 insertions, 1 deletions
diff --git a/cfbe.py b/cfbe.py
index 817f41f..63fbc7e 100755
--- a/cfbe.py
+++ b/cfbe.py
@@ -31,4 +31,8 @@ config = path.join(module_dir, 'cfbe.config')
options = parse_arguments()
WebInterface = web.WebInterface(path.abspath(options['bug_root']), template_dir)
-cherrypy.quickstart(WebInterface, '/', config)
+
+cherrypy.config.update({'tools.staticdir.root': path.join(module_dir, 'static')})
+app_config = { '/static': { 'tools.staticdir.on': True,
+ 'tools.staticdir.dir': '', } }
+cherrypy.quickstart(WebInterface, '/', app_config)