Changing the endpoint to be caught from an environment variable.
parent
ad34f46e70
commit
43c2564f97
|
@ -12,7 +12,7 @@ class AntiCaptcha:
|
|||
ep: str = ""
|
||||
|
||||
def __init__(self) -> None:
|
||||
self.ep = "https://localhost:8443"
|
||||
self.ep = os.environ.get("REPLAY_ADDR")
|
||||
|
||||
def __request_json_post__ (self, path: str, object: dict):
|
||||
"""
|
||||
|
|
|
@ -33,7 +33,7 @@ class API_Proxy:
|
|||
}
|
||||
|
||||
def __init__ (self):
|
||||
self.ep = "https://localhost:8443"
|
||||
self.ep = os.environ.get("REPLAY_ADDR")
|
||||
|
||||
def __request_json_post__(self, path: str, object: dict):
|
||||
|
||||
|
|
|
@ -16,7 +16,7 @@ class AutoHotKey:
|
|||
ep: str = ""
|
||||
|
||||
def __init__ (self):
|
||||
self.ep = "https://localhost:8443"
|
||||
self.ep = os.environ.get("REPLAY_ADDR")
|
||||
|
||||
def __request_raw_post__ (self, path: str, data: str = ""):
|
||||
|
||||
|
|
|
@ -16,7 +16,7 @@ class AutoIt:
|
|||
ep: str = ""
|
||||
|
||||
def __init__ (self):
|
||||
self.ep = "https://localhost:8443"
|
||||
self.ep = os.environ.get("REPLAY_ADDR")
|
||||
|
||||
def __request_raw_post__ (self, path: str, data: str = ""):
|
||||
|
||||
|
|
|
@ -21,7 +21,7 @@ class Chrome:
|
|||
ep: str = ""
|
||||
|
||||
def __init__(self):
|
||||
self.ep = "https://localhost:8443"
|
||||
self.ep = os.environ.get("REPLAY_ADDR")
|
||||
|
||||
def __request_get__(self, data: str):
|
||||
|
||||
|
|
|
@ -13,7 +13,7 @@ class Excel:
|
|||
ep: str = ""
|
||||
|
||||
def __init__ (self):
|
||||
self.ep = "https://localhost:8443"
|
||||
self.ep = os.environ.get("REPLAY_ADDR")
|
||||
|
||||
def __request_json_post__ (self, path: str, object: dict):
|
||||
|
||||
|
|
|
@ -13,7 +13,7 @@ class Ocr:
|
|||
ep: str = ""
|
||||
|
||||
def __init__ (self):
|
||||
self.ep = "https://localhost:8443"
|
||||
self.ep = os.environ.get("REPLAY_ADDR")
|
||||
|
||||
def __request_json_post__ (self, path: str, object: dict):
|
||||
|
||||
|
|
|
@ -16,7 +16,7 @@ class Replay:
|
|||
ep: str = ""
|
||||
|
||||
def __init__ (self):
|
||||
self.ep = "https://localhost:8443"
|
||||
self.ep = os.environ.get("REPLAY_ADDR")
|
||||
|
||||
def __request_get__ (self, data: str):
|
||||
|
||||
|
|
|
@ -17,7 +17,7 @@ class Wingui:
|
|||
ep: str = ""
|
||||
|
||||
def __init__(self):
|
||||
self.ep = "https://localhost:8443"
|
||||
self.ep = os.environ.get("REPLAY_ADDR")
|
||||
|
||||
def __requestget__(self, data: str):
|
||||
|
||||
|
|
Loading…
Reference in New Issue