include router
This commit is contained in:
@@ -2,7 +2,7 @@ from fastapi import FastAPI
|
||||
import tomllib
|
||||
import logging
|
||||
|
||||
from routers import ip
|
||||
from routers import ip, tariffs
|
||||
|
||||
logging.basicConfig(level=logging.INFO)
|
||||
|
||||
@@ -21,4 +21,5 @@ app = FastAPI(
|
||||
async def health_check():
|
||||
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]
|
||||
name = "uvpn-backend"
|
||||
version = "0.1.0"
|
||||
description = "Add your description here"
|
||||
version = "0.2.0"
|
||||
description = "FastAPI backend with Docker for uvpn.shop"
|
||||
readme = "README.md"
|
||||
requires-python = ">=3.12"
|
||||
dependencies = [
|
||||
|
||||
Reference in New Issue
Block a user