Platform bundle: marketing publish, IT ops, packaging, agents mesh.
Volledige Foodlinkk Command Center uitbreiding met social automatisering, reclamefolder filters, Proxmox monitoring en documentatie.
This commit is contained in:
@@ -0,0 +1,11 @@
|
||||
#!/usr/bin/env python3
|
||||
from pathlib import Path
|
||||
|
||||
p = Path("/home/aissa/foodlinkk-command-center/cockpit/app/routes/admin_api.py")
|
||||
text = p.read_text()
|
||||
if "reco_proxy" not in text:
|
||||
text = "from app.routes.reco_proxy import register_recommendation_routes\n" + text
|
||||
if "register_recommendation_routes(admin_router)" not in text:
|
||||
text += "\nregister_recommendation_routes(admin_router)\n"
|
||||
p.write_text(text)
|
||||
print("admin_api patched")
|
||||
Reference in New Issue
Block a user