archive
/
lantern
Archived
1
Fork 0
This repository has been archived on 2023-03-26. You can view files and clone it, but cannot push or open issues or pull requests.
lantern/lantern/main.py

12 lines
216 B
Python

from sanic import Sanic
from lantern.route import main_route
app = Sanic(__name__)
def main():
app.add_route(main_route, "/<path>")
app.add_route(main_route, "/")
app.run(host="0.0.0.0", port="8000")