Initial work on the api - backend stuff to allow api as a config option

This commit is contained in:
rembo10
2012-03-25 13:35:36 +01:00
parent 34f7d6cf59
commit 128f17c66c
4 changed files with 16 additions and 2 deletions
+2
View File
@@ -44,6 +44,8 @@ def initialize(options={}):
}
}
if options['api']:
conf['/api'] = {'tools.staticdir.on': True, 'tools.staticdir.dir': "api"}
if options['http_password'] != "":
conf['/'].update({