Skip to content

Commit

Permalink
fix: remove unused server_domain method
Browse files Browse the repository at this point in the history
  • Loading branch information
raphael0202 committed Apr 16, 2023
1 parent 09cb67e commit 2b43ff6
Showing 1 changed file with 0 additions and 5 deletions.
5 changes: 0 additions & 5 deletions robotoff/settings.py
Original file line number Diff line number Diff line change
Expand Up @@ -68,11 +68,6 @@ def _get_url(

return "%(scheme)s://%(domain)s" % data

@staticmethod
def server_domain(server_type: ServerType) -> str:
"""Return the server domain: `api.*.*`"""
return f"api.{server_type.get_base_domain()}.{_get_tld()}"

@staticmethod
def world(server_type: ServerType):
return BaseURLProvider._get_url(
Expand Down

0 comments on commit 2b43ff6

Please sign in to comment.