Update server.py

This commit is contained in:
Nova Cat 2025-01-12 21:49:36 -08:00
parent b9f32bd1a1
commit 8cd9f8e4de

View file

@ -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))