Skip to content

Commit

Permalink
Update app.py
Browse files Browse the repository at this point in the history
  • Loading branch information
justin-hsieh committed Oct 10, 2023
1 parent f715259 commit 105946a
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions app.py
Original file line number Diff line number Diff line change
Expand Up @@ -9,8 +9,7 @@

# app.config['SQLALCHEMY_DATABASE_URI'] = config('DATABASE_URL')
app = Flask(__name__)
allowed_origins = ["http://localhost:3000/"]
CORS(app, supports_credentials=True, origins=allowed_origins)
CORS(app, supports_credentials=True)
# stop tracking modifications
# app.config['SQLALCHEMY_TRACK_MODIFICATIONS'] = False

Expand Down

0 comments on commit 105946a

Please sign in to comment.