Changing the endpoint to be caught from an environment variable.

master
Pedro de Oliveira Guedes 2022-02-17 09:52:34 -03:00
parent ad34f46e70
commit 43c2564f97
9 changed files with 9 additions and 9 deletions

View File

@ -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):
""" """

View File

@ -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):

View File

@ -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 = ""):

View File

@ -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 = ""):

View File

@ -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):

View File

@ -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):

View File

@ -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):

View File

@ -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):

View File

@ -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):