Update server.py
This commit is contained in:
parent
b9f32bd1a1
commit
8cd9f8e4de
1 changed files with 3 additions and 1 deletions
|
@ -18,4 +18,6 @@ def relay(url):
|
|||
return render_template("gem.html", code=parsed, title=title)
|
||||
|
||||
# Run the Hypercorn ASGI server
|
||||
asyncio.run(serve(app, Config()))
|
||||
conf = Config()
|
||||
conf.bind = "0.0.0.0:2009"
|
||||
asyncio.run(serve(app, conf))
|
Loading…
Add table
Reference in a new issue