main
Kushal Dotel 6 months ago
parent 5041d84363
commit 1c85702154
  1. 2
      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'}

Loading…
Cancel
Save