add new route 'web' for web server configuration

This commit is contained in:
Jan Dittberner 2015-01-26 15:43:05 +01:00
parent 3c4d34cce5
commit d31c1d0fbf
1 changed files with 1 additions and 1 deletions

View File

@ -5,7 +5,7 @@ from __future__ import unicode_literals
class GvaRouter(object):
def route_for_task(self, task, args=None, kwargs=None):
for route in ['ldap', 'file', 'mysql', 'pgsql']:
for route in ['ldap', 'file', 'mysql', 'pgsql', 'web']:
if route in task:
return {
'exchange': route,