mirror of
https://github.com/frappe/gunicorn.git
synced 2026-01-14 11:09:11 +08:00
17 lines
197 B
Python
17 lines
197 B
Python
# Run with
|
|
#
|
|
# $ gunicorn webpyapp:app
|
|
#
|
|
|
|
import web
|
|
|
|
urls = (
|
|
'/', 'index'
|
|
)
|
|
|
|
class index:
|
|
def GET(self):
|
|
return "Hello, world!"
|
|
|
|
app = web.application(urls, globals()).wsgifunc()
|