Compare commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
da5a15237e | ||
|
|
c1a7f237ab | ||
|
|
3aa1f582e3 |
+2
-2
@@ -1,6 +1,6 @@
|
||||
[project]
|
||||
name = "uvpn-backend"
|
||||
version = "0.7.8"
|
||||
version = "0.7.10"
|
||||
description = "FastAPI backend with Docker for uvpn.shop"
|
||||
readme = "README.md"
|
||||
requires-python = ">=3.12"
|
||||
@@ -10,7 +10,7 @@ dependencies = [
|
||||
"bs4>=0.0.2",
|
||||
"fastapi>=0.136.3",
|
||||
"httpx>=0.27.2",
|
||||
"remnawave>=2.7.1",
|
||||
"remnawave>=2.8.0",
|
||||
"uvicorn>=0.49.0",
|
||||
]
|
||||
|
||||
|
||||
+1
-1
@@ -42,7 +42,7 @@ async def get_nodes():
|
||||
'name': clean_host_name(host.remark),
|
||||
'address': host.address,
|
||||
'port': host.port,
|
||||
'country_code': (await remnawave.nodes.get_one_node(uuid=host.nodes[0].hex)).country_code
|
||||
'country_code': (await remnawave.nodes.get_one_node(uuid=str(host.nodes[0]))).country_code
|
||||
}
|
||||
|
||||
for host in hosts.root if not host.is_disabled and not host.is_hidden
|
||||
|
||||
Reference in New Issue
Block a user