update env
Build and Deploy Backend / build-and-deploy (push) Successful in 54s

This commit is contained in:
austnv
2026-07-03 19:07:07 +03:00
parent f1d51722aa
commit 895182c211
3 changed files with 3 additions and 2 deletions
+1
View File
@@ -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
View File
@@ -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
View File
@@ -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):