mirror of
https://git.notmuchmail.org/git/notmuch
synced 2024-12-27 03:41:41 +01:00
12 lines
229 B
Python
12 lines
229 B
Python
|
#!/usr/bin/env python3
|
||
|
|
||
|
# to launch nmweb from gunicorn.
|
||
|
|
||
|
from nmweb import urls, index, search, show
|
||
|
import web
|
||
|
|
||
|
app = web.application(urls, globals())
|
||
|
|
||
|
# get the wsgi app from web.py application object
|
||
|
wsgiapp = app.wsgifunc()
|