include router
This commit is contained in:
@@ -2,7 +2,7 @@ from fastapi import FastAPI
|
|||||||
import tomllib
|
import tomllib
|
||||||
import logging
|
import logging
|
||||||
|
|
||||||
from routers import ip
|
from routers import ip, tariffs
|
||||||
|
|
||||||
logging.basicConfig(level=logging.INFO)
|
logging.basicConfig(level=logging.INFO)
|
||||||
|
|
||||||
@@ -22,3 +22,4 @@ async def health_check():
|
|||||||
return {"status": "healthy", "service": "uvpn-backend"}
|
return {"status": "healthy", "service": "uvpn-backend"}
|
||||||
|
|
||||||
app.include_router(ip.router)
|
app.include_router(ip.router)
|
||||||
|
app.include_router(tariffs.router)
|
||||||
+2
-2
@@ -1,7 +1,7 @@
|
|||||||
[project]
|
[project]
|
||||||
name = "uvpn-backend"
|
name = "uvpn-backend"
|
||||||
version = "0.1.0"
|
version = "0.2.0"
|
||||||
description = "Add your description here"
|
description = "FastAPI backend with Docker for uvpn.shop"
|
||||||
readme = "README.md"
|
readme = "README.md"
|
||||||
requires-python = ">=3.12"
|
requires-python = ">=3.12"
|
||||||
dependencies = [
|
dependencies = [
|
||||||
|
|||||||
Reference in New Issue
Block a user