mirror of
https://github.com/andrey271192/keenetic_ssh-web.git
synced 2026-09-20 14:42:01 +00:00
contact: personal Telegram -> group @PCAdministration
This commit is contained in:
2
app.py
2
app.py
@@ -21,7 +21,7 @@ log = logging.getLogger("kssh")
|
|||||||
APP_DIR = Path(__file__).resolve().parent
|
APP_DIR = Path(__file__).resolve().parent
|
||||||
|
|
||||||
WEB_PASSWORD = os.environ.get("WEB_PASSWORD", "").strip()
|
WEB_PASSWORD = os.environ.get("WEB_PASSWORD", "").strip()
|
||||||
AUTHOR_TG = os.environ.get("AUTHOR_TELEGRAM_USERNAME", "Iot_andrey").strip().lstrip("@") or "Iot_andrey"
|
AUTHOR_TG = os.environ.get("AUTHOR_TELEGRAM_USERNAME", "PCAdministration").strip().lstrip("@") or "PCAdministration"
|
||||||
ALLOWED_IPS_RAW = os.environ.get("ALLOWED_IPS", "").strip()
|
ALLOWED_IPS_RAW = os.environ.get("ALLOWED_IPS", "").strip()
|
||||||
ALLOWED_IPS = {x.strip() for x in ALLOWED_IPS_RAW.split(",") if x.strip()} if ALLOWED_IPS_RAW else set()
|
ALLOWED_IPS = {x.strip() for x in ALLOWED_IPS_RAW.split(",") if x.strip()} if ALLOWED_IPS_RAW else set()
|
||||||
CMD_TIMEOUT = int(os.environ.get("CMD_TIMEOUT", "300"))
|
CMD_TIMEOUT = int(os.environ.get("CMD_TIMEOUT", "300"))
|
||||||
|
|||||||
Reference in New Issue
Block a user