Mercurial > piecrust2
changeset 378:fe8a58817088
serve: Compatibility with `mod_wsgi`.
author | Ludovic Chabant <ludovic@chabant.com> |
---|---|
date | Sat, 09 May 2015 08:37:32 -0700 |
parents | b45322924d18 |
children | d40b744a9d99 |
files | piecrust/wsgiutil/cwdapp.py |
diffstat | 1 files changed, 2 insertions(+), 0 deletions(-) [+] |
line wrap: on
line diff
--- a/piecrust/wsgiutil/cwdapp.py Fri May 08 09:16:12 2015 -0700 +++ b/piecrust/wsgiutil/cwdapp.py Sat May 09 08:37:32 2015 -0700 @@ -8,4 +8,6 @@ root_dir = os.getcwd() server = Server(root_dir, sub_cache_dir='prod', enable_debug_info=False) app = server.getWsgiApp() +# Add this for `mod_wsgi`. +application = app