improved changes

This commit is contained in:
2025-11-26 20:01:52 +05:30
parent e5c5044ff3
commit 5ad65c3c59
68 changed files with 12520 additions and 827 deletions

View File

@ -15,8 +15,8 @@ CORS(app,
)
# Configuration - point to your main backend
# MAIN_BACKEND_URL = "http://127.0.0.1:5000"
MAIN_BACKEND_URL = "https://iotbackend.rootxwire.com" # Change this to your main backend URL
MAIN_BACKEND_URL = "http://127.0.0.1:5000"
# MAIN_BACKEND_URL = "https://iotbackend.rootxwire.com" # Change this to your main backend URL
# Add OPTIONS handler for preflight requests
@app.before_request