Skip to content

Commit

Permalink
feat: cors
Browse files Browse the repository at this point in the history
  • Loading branch information
michaelfromyeg committed Dec 30, 2023
1 parent cc95330 commit ac62daf
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 @@ -39,7 +39,7 @@
if FLASK_ENV == "development":
CORS(app)
else:
CORS(app, resources={r"/*": {"origins": "https://michaeldemar.co"}})
CORS(app, resources={r"/*": {"origins": "https://bereal.michaeldemar.co"}})

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 ac62daf

Please sign in to comment.