Skip to content

Commit

Permalink
Removed app level CORS (#2226)
Browse files Browse the repository at this point in the history
  • Loading branch information
saravanpa-aot authored Sep 20, 2023
1 parent e3afea4 commit c82c53f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion met-api/src/met_api/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@ def create_app(run_mode=os.getenv('FLASK_ENV', 'development')):
# All configuration are in config file
app.config.from_object(get_named_config(run_mode))

CORS(app, origins=os.getenv('SITE_URL'), supports_credentials=True)
# CORS(app, origins=os.getenv('SITE_URL'), supports_credentials=True)

# Register blueprints
app.register_blueprint(API_BLUEPRINT)
Expand Down

0 comments on commit c82c53f

Please sign in to comment.