web: fix issues with entrypoint
This commit is contained in:
+1
-1
@@ -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}")
|
||||
|
||||
Reference in New Issue
Block a user