Skip to content

Commit

Permalink
Add instance deletion from itself
Browse files Browse the repository at this point in the history
  • Loading branch information
ThomasHerve committed Apr 3, 2024
1 parent f04c8fa commit 9d0c5fa
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion instance/app/handlers/app.py
Original file line number Diff line number Diff line change
Expand Up @@ -21,5 +21,5 @@ def publish(body):
def stop():
instance_name = os.environ["INSTANCE_NAME"]
backend_url = os.environ["BACKEND_URL"]
requests.post(f"{backend_url}/delete-room", data={"instance": instance_name})
requests.post(f"https://{backend_url}/delete-room", data={"instance": instance_name})
return "deleted"

0 comments on commit 9d0c5fa

Please sign in to comment.