aboutsummaryrefslogtreecommitdiff
path: root/backend.py
diff options
context:
space:
mode:
Diffstat (limited to 'backend.py')
-rw-r--r--backend.py3
1 files changed, 3 insertions, 0 deletions
diff --git a/backend.py b/backend.py
index 2192201..c5bc759 100644
--- a/backend.py
+++ b/backend.py
@@ -1,5 +1,6 @@
from flask import Flask
from pathlib import Path
+from dotenv import load_dotenv
import requests
import subprocess
import threading
@@ -8,6 +9,8 @@ import os
app = Flask(__name__)
print_lock = threading.Lock()
+load_dotenv("/srv/automation/remote-automation/.env")
+
@app.get("/automate/hack_this_club")
def hack_this_club():
print("i’M gOnNa HaCk\nThIs ClUb!!!1!1!1!!11!111!1!11!1")