mirror of
https://github.com/Retropex/custom-ocean.xyz-dashboard.git
synced 2025-05-12 19:20:45 +02:00
Update App.py
This commit is contained in:
parent
2023256113
commit
f812a41bca
2
App.py
2
App.py
@ -528,7 +528,7 @@ def get_config():
|
||||
@app.route("/api/config", methods=["POST"])
|
||||
def update_config():
|
||||
"""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:
|
||||
# Get the request data
|
||||
|
Loading…
Reference in New Issue
Block a user