Compare commits
2
Commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
006c6487f6 | ||
|
|
6a4999f48f |
+1
-1
@@ -1,6 +1,6 @@
|
|||||||
[project]
|
[project]
|
||||||
name = "uvpn-backend"
|
name = "uvpn-backend"
|
||||||
version = "0.7.7"
|
version = "0.7.8"
|
||||||
description = "FastAPI backend with Docker for uvpn.shop"
|
description = "FastAPI backend with Docker for uvpn.shop"
|
||||||
readme = "README.md"
|
readme = "README.md"
|
||||||
requires-python = ">=3.12"
|
requires-python = ">=3.12"
|
||||||
|
|||||||
+1
-1
@@ -42,7 +42,7 @@ async def get_nodes():
|
|||||||
'name': clean_host_name(host.remark),
|
'name': clean_host_name(host.remark),
|
||||||
'address': host.address,
|
'address': host.address,
|
||||||
'port': host.port,
|
'port': host.port,
|
||||||
'country_code': (await remnawave.nodes.get_one_node(uuid=host.nodes[0])).country_code
|
'country_code': (await remnawave.nodes.get_one_node(uuid=host.nodes[0].hex)).country_code
|
||||||
}
|
}
|
||||||
|
|
||||||
for host in hosts.root if not host.is_disabled and not host.is_hidden
|
for host in hosts.root if not host.is_disabled and not host.is_hidden
|
||||||
|
|||||||
Reference in New Issue
Block a user