From 412c4bea250845bdcc189c9c7c06b4ac42a6fcf9 Mon Sep 17 00:00:00 2001 From: Leo dev Date: Tue, 3 Sep 2024 19:19:04 +0200 Subject: [PATCH] idk --- config.py | 2 +- invite_sys.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/config.py b/config.py index b5be65f..92c3d6e 100644 --- a/config.py +++ b/config.py @@ -2,7 +2,7 @@ import os BOT_TOKEN=os.environ['BOT_TOKEN'] USE_INVITE_SERVER=os.environ['USE_INVITE']=='true' INVITE_SERVER_URL='127.0.0.1' -INVITE_SERVER_PORT=8000 +INVITE_SERVER_PORT=os.environ['PORT'] INVITE=os.environ['INVITE'] PUNISH_ROLES=(1279588925257683014,) REDIS_URL=os.environ['REDIS_URL'] diff --git a/invite_sys.py b/invite_sys.py index 78f4672..2efe081 100644 --- a/invite_sys.py +++ b/invite_sys.py @@ -17,4 +17,4 @@ def invite(id): aura.update(user) return redirect(INVITE, code=302) -app.run('127.0.0.1', INVITE_SERVER_PORT) \ No newline at end of file +app.run('0.0.0.0', INVITE_SERVER_PORT) \ No newline at end of file