mirror of
https://github.com/tubearchivist/tubearchivist.git
synced 2025-03-14 09:50:12 +00:00
fix pre-commit - black
This commit is contained in:
parent
641cc361a2
commit
a4978f5ae9
@ -218,7 +218,6 @@ def ta_host_parser(ta_host: str) -> tuple[list[str], list[str]]:
|
||||
|
||||
parsed = urlparse(host_clean)
|
||||
allowed_hosts.append(f"{parsed.hostname}")
|
||||
|
||||
cors_url = f"{parsed.scheme}://{parsed.hostname}"
|
||||
|
||||
if parsed.port:
|
||||
|
Loading…
Reference in New Issue
Block a user