Update App.py

This commit is contained in:
DJObleezy 2025-03-30 10:10:11 -07:00 committed by GitHub
parent 2023256113
commit f812a41bca
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

2
App.py
View File

@ -528,7 +528,7 @@ def get_config():
@app.route("/api/config", methods=["POST"]) @app.route("/api/config", methods=["POST"])
def update_config(): def update_config():
"""API endpoint to update configuration.""" """API endpoint to update configuration."""
global dashboard_service # Add this to access the global dashboard_service global dashboard_service, worker_service # Add this to access the global dashboard_service
try: try:
# Get the request data # Get the request data