13 lines
261 B
Python
13 lines
261 B
Python
# Run with: gunicorn --workers=1 --worker-class=meinheld.gmeinheld.MeinheldWorker -b :8000 simple_server:app
|
|
import bottle
|
|
from bottle import route, run
|
|
import ujson
|
|
|
|
|
|
@route("/")
|
|
def index():
|
|
return ujson.dumps({"test": True})
|
|
|
|
|
|
app = bottle.default_app()
|