Skip to content

Commit

Permalink
remove cors
Browse files Browse the repository at this point in the history
  • Loading branch information
fcremer committed Aug 13, 2024
1 parent 82c68d9 commit b694476
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions api.py
Original file line number Diff line number Diff line change
Expand Up @@ -10,9 +10,9 @@


app = Flask(__name__)
CORS(app)
#CORS(app)
data = load_data()
app.config['CORS_HEADERS'] = 'Content-Type'
#app.config['CORS_HEADERS'] = 'Content-Type'

@app.route('/')
def index():
Expand Down

0 comments on commit b694476

Please sign in to comment.