Skip to content

Commit

Permalink
adding CORS
Browse files Browse the repository at this point in the history
  • Loading branch information
Norman Saez committed Apr 24, 2020
1 parent ae16cff commit 6818df4
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions geojson/app.py
Original file line number Diff line number Diff line change
Expand Up @@ -8,8 +8,10 @@
from flask import jsonify
from flask import request
from subprocess import Popen, PIPE, DEVNULL
from flask_cors import CORS

app = Flask(__name__)
CORS(app)

client = pymongo.MongoClient("mongodb://192.168.2.223:27017")

Expand Down

0 comments on commit 6818df4

Please sign in to comment.