This commit is contained in:
@@ -1 +1,2 @@
|
|||||||
|
REMNAWAVE_URL=https://panel.example.com
|
||||||
REMNAWAVE_API_TOKEN=your-token-from-remnawave-panel
|
REMNAWAVE_API_TOKEN=your-token-from-remnawave-panel
|
||||||
+1
-1
@@ -1,6 +1,6 @@
|
|||||||
[project]
|
[project]
|
||||||
name = "uvpn-backend"
|
name = "uvpn-backend"
|
||||||
version = "0.7.10"
|
version = "0.7.11"
|
||||||
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
@@ -10,7 +10,7 @@ import re
|
|||||||
logging.basicConfig(level=logging.INFO)
|
logging.basicConfig(level=logging.INFO)
|
||||||
|
|
||||||
router = APIRouter(prefix='/api/v1', tags=['hosts'])
|
router = APIRouter(prefix='/api/v1', tags=['hosts'])
|
||||||
remnawave = RemnawaveSDK(base_url='http://remnawave:3000', token=getenv('REMNAWAVE_API_TOKEN'))
|
remnawave = RemnawaveSDK(base_url=getenv('REMNAWAVE_URL'), token=getenv('REMNAWAVE_API_TOKEN'))
|
||||||
|
|
||||||
|
|
||||||
def clean_host_name(name):
|
def clean_host_name(name):
|
||||||
|
|||||||
Reference in New Issue
Block a user