This repository has been archived on 2021-12-24. You can view files and clone it, but cannot push or open issues/pull-requests.
jos/app/__main__.py

14 lines
194 B
Python
Raw Normal View History

2021-05-18 12:26:42 +02:00
"""Main entrypoint for the program."""
2021-05-18 11:45:44 +02:00
from quart import Quart
app = Quart("jos")
2021-05-18 12:26:42 +02:00
2021-05-18 11:45:44 +02:00
@app.route("/")
async def hello():
2021-05-18 12:26:42 +02:00
"""Placeholder route."""
2021-05-18 11:45:44 +02:00
return "hello"
2021-05-18 12:26:42 +02:00
2021-05-18 12:15:21 +02:00
app.run(host="0.0.0.0")