Skip to content

Commit

Permalink
fix: revert cors changes
Browse files Browse the repository at this point in the history
  • Loading branch information
rilesdun committed Sep 26, 2023
1 parent 2668ea4 commit af8c279
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app.py
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@

# need to get correct origins - bad practice for CORS "*"

CORS(app, resources={r"/*": {"origins": ["http://explorer-ui:8080"], "methods": ["GET"]}})
CORS(app, resources={r"/*": {"origins": "*"}})
cache.init_app(app)
logging.basicConfig(level=logging.INFO,
format='%(asctime)s - %(name)s - '
Expand Down

0 comments on commit af8c279

Please sign in to comment.