From a66ef79c3cc860c2658f7a47eb9d4f57ec1de236 Mon Sep 17 00:00:00 2001 From: Inex Code Date: Sat, 14 Dec 2024 22:49:27 +0300 Subject: [PATCH] refactor: Do not return URL for API itself --- selfprivacy_api/services/__init__.py | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/selfprivacy_api/services/__init__.py b/selfprivacy_api/services/__init__.py index 2a74f37..a6d3b85 100644 --- a/selfprivacy_api/services/__init__.py +++ b/selfprivacy_api/services/__init__.py @@ -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]: