Microservie docker update

This commit is contained in:
2025-10-21 10:10:45 +05:30
parent c40c4fc90f
commit 8e91a4a6a1
4 changed files with 69 additions and 1 deletions

View File

@ -15,7 +15,8 @@ CORS(app,
)
# Configuration - point to your main backend
MAIN_BACKEND_URL = "http://127.0.0.1:5000" # 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