From 8cd9f8e4debee0d61bd7413eacc6a08cc0671003 Mon Sep 17 00:00:00 2001 From: swee Date: Sun, 12 Jan 2025 21:49:36 -0800 Subject: [PATCH] Update server.py --- server.py | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/server.py b/server.py index 4bade04..61d5ebc 100644 --- a/server.py +++ b/server.py @@ -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())) \ No newline at end of file +conf = Config() +conf.bind = "0.0.0.0:2009" +asyncio.run(serve(app, conf)) \ No newline at end of file