3
This commit is contained in:
@@ -1,7 +1,7 @@
|
||||
from fastapi import FastAPI
|
||||
from fastapi.middleware.cors import CORSMiddleware
|
||||
from app.api.router import api_router
|
||||
from app.core.config import settings
|
||||
from app.core.config import get_parsed_servers, settings
|
||||
|
||||
app = FastAPI(
|
||||
title="Proxmox Duplicate Visualizer API",
|
||||
@@ -26,5 +26,5 @@ async def root():
|
||||
return {
|
||||
"status": "online",
|
||||
"message": "Proxmox Visualizer API is running",
|
||||
"configured_servers": len(settings.parsed_servers)
|
||||
"configured_servers": len(get_parsed_servers())
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user