Skip to content

Commit

Permalink
fix: remove wildcard
Browse files Browse the repository at this point in the history
  • Loading branch information
michaelfromyeg committed Dec 30, 2023
1 parent dcf3123 commit 587ba27
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion bereal/server.py
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@
CORS(app)
else:
logger.info("Enabling CORS for production")
CORS(app, resources={r"/*": {"origins": "https://*.michaeldemar.co"}}, supports_credentials=True)
CORS(app, resources={r"/*": {"origins": "https://api.bereal.michaeldemar.co"}}, supports_credentials=True)

basedir = os.path.abspath(os.path.dirname(__file__))
app.config["SQLALCHEMY_DATABASE_URI"] = f'sqlite:///{os.path.join(basedir, "tokens.db")}'
Expand Down

0 comments on commit 587ba27

Please sign in to comment.