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