diff --git a/backend/app.py b/backend/app.py index 12e726f..9b91f58 100644 --- a/backend/app.py +++ b/backend/app.py @@ -29,7 +29,7 @@ app = Flask(__name__) CORS(app) # Enable CORS for specific routes # CORS(app, resources={ -# r"/api/*": {"origins": "*"} # Allows CORS for all `/api/` routes +# r"*": {"origins": "*"} # Allows CORS for all `/api/` routes # }) # Set configuration directly on the app instance app.config['ALLOWED_EXTENSIONS'] = {'png', 'jpg', 'jpeg', 'gif','pdf'}