Skip to content

Commit

Permalink
add cors
Browse files Browse the repository at this point in the history
  • Loading branch information
SukhmeetSingh2002 committed Oct 1, 2023
1 parent 4d501ee commit 6587b9a
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/app.py
Original file line number Diff line number Diff line change
@@ -1,7 +1,9 @@
from flask import Flask, request, jsonify
from flask_cors import CORS
from bot import BhagavadGitaBot

app = Flask(__name__)
CORS(app)
bot = BhagavadGitaBot()

@app.route('/', methods=['GET'])
Expand Down

0 comments on commit 6587b9a

Please sign in to comment.