refactor: Do not return URL for API itself

This commit is contained in:
Inex Code 2024-12-14 22:49:27 +03:00
parent 25b6b9ca77
commit a66ef79c3c
No known key found for this signature in database

View file

@ -109,9 +109,7 @@ class ServiceManager(Service):
@staticmethod
def get_url() -> typing.Optional[str]:
"""Return service url."""
domain = get_domain()
subdomain = ServiceManager.get_subdomain()
return f"https://{subdomain}.{domain}" if subdomain else None
return None
@staticmethod
def get_subdomain() -> typing.Optional[str]: