diff --git a/app.py b/app.py index 9c5145b1..c9b1ca16 100644 --- a/app.py +++ b/app.py @@ -250,10 +250,10 @@ def internal_error(error: Exception) -> Union[Response, Tuple[Response, int]]: return jsonify({"error": "Internal server error"}), 500 +# Register all routes with /request prefix +register_dual_routes(app) + if __name__ == '__main__': - # Register all routes with /request prefix - register_dual_routes(app) - logger.info(f"Starting Flask application on {FLASK_HOST}:{FLASK_PORT} IN {APP_ENV} mode") app.run( host=FLASK_HOST,