Skip to content

Commit

Permalink
[#2845] Add the name of the app being used to the WSGI environ
Browse files Browse the repository at this point in the history
  • Loading branch information
amercader committed Mar 10, 2016
1 parent e22d706 commit cc943b9
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions ckan/config/middleware.py
Expand Up @@ -342,6 +342,7 @@ def __call__(self, environ, start_response):
app_name = 'flask_app'

log.debug('Serving request via {0} app'.format(app_name))
environ['ckan.app'] = app_name
return self.apps[app_name](environ, start_response)


Expand Down

0 comments on commit cc943b9

Please sign in to comment.