mirror of
https://github.com/frappe/gunicorn.git
synced 2026-01-14 11:09:11 +08:00
11 lines
233 B
Python
11 lines
233 B
Python
import cherrypy
|
|
|
|
cherrypy.config.update({'environment': 'embedded'})
|
|
|
|
class Root(object):
|
|
def index(self):
|
|
return 'Hello World!'
|
|
index.exposed = True
|
|
|
|
app = cherrypy.Application(Root(), script_name=None, config=None)
|