comparison piecrust/wsgiutil/cwdapp.py @ 378:fe8a58817088

serve: Compatibility with `mod_wsgi`.
author Ludovic Chabant <ludovic@chabant.com>
date Sat, 09 May 2015 08:37:32 -0700
parents 21687b933193
children d40b744a9d99
comparison
equal deleted inserted replaced
377:b45322924d18 378:fe8a58817088
6 6
7 7
8 root_dir = os.getcwd() 8 root_dir = os.getcwd()
9 server = Server(root_dir, sub_cache_dir='prod', enable_debug_info=False) 9 server = Server(root_dir, sub_cache_dir='prod', enable_debug_info=False)
10 app = server.getWsgiApp() 10 app = server.getWsgiApp()
11 # Add this for `mod_wsgi`.
12 application = app
11 13