add nodes router to app

This commit is contained in:
austnv
2026-06-21 13:55:03 +03:00
parent 44941869ed
commit 8dbaac5edb
2 changed files with 4 additions and 3 deletions
+2 -1
View File
@@ -2,7 +2,7 @@ from fastapi import FastAPI
import tomllib import tomllib
import logging import logging
from routers import ip, tariffs from routers import ip, tariffs, nodes
logging.basicConfig(level=logging.INFO) logging.basicConfig(level=logging.INFO)
@@ -23,3 +23,4 @@ async def health_check():
app.include_router(ip.router) app.include_router(ip.router)
app.include_router(tariffs.router) app.include_router(tariffs.router)
app.include_router(nodes.router)
+1 -1
View File
@@ -1,6 +1,6 @@
[project] [project]
name = "uvpn-backend" name = "uvpn-backend"
version = "0.3.0" version = "0.4.0"
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"