Skip to content

Commit

Permalink
temporary removed cors
Browse files Browse the repository at this point in the history
  • Loading branch information
shivamgutgutia committed Dec 17, 2023
1 parent 3506b2c commit 750ad73
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion app.py
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,8 @@
load_dotenv()

app= Flask(__name__)
CORS(app, resources={r"/*": {"origins": "https://contactify.codechefvit.com", "methods": ["GET", "POST"]}})
CORS(app)
#CORS(app, resources={r"/*": {"origins": "https://contactify.codechefvit.com", "methods": ["GET", "POST"]}})
app.config['MAX_CONTENT_LENGTH'] = 1024*1024*1024

@app.errorhandler(Exception)
Expand Down

0 comments on commit 750ad73

Please sign in to comment.