web: fix issues with entrypoint

This commit is contained in:
2025-10-22 11:53:25 -04:00
committed by sbcrumb
parent 916f237e68
commit 470d77c28f
2 changed files with 3 additions and 9 deletions
+1 -1
View File
@@ -69,7 +69,7 @@ def main():
# Initialize database using existing system
try:
db = NFOGuardDatabase()
db = NFOGuardDatabase(config)
print(f"✅ Connected to database: {config.db_host}:{config.db_port}/{config.db_name}")
except Exception as e:
print(f"❌ Failed to connect to database: {e}")