Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
|
@@ -339,8 +339,8 @@ def create_layer(label,data,image):
|
|
| 339 |
app = Flask(__name__)
|
| 340 |
cors = CORS(app)
|
| 341 |
app.config['CORS_HEADERS'] = '*'
|
| 342 |
-
app.config['CORS_METHODS'] = '*'
|
| 343 |
app.config['CORS_ORIGINS'] = '*'
|
|
|
|
| 344 |
|
| 345 |
|
| 346 |
@app.route("/window",methods=["POST"])
|
|
|
|
| 339 |
app = Flask(__name__)
|
| 340 |
cors = CORS(app)
|
| 341 |
app.config['CORS_HEADERS'] = '*'
|
|
|
|
| 342 |
app.config['CORS_ORIGINS'] = '*'
|
| 343 |
+
app.config['CORS_EXPOSE_HEADERS'] = '*'
|
| 344 |
|
| 345 |
|
| 346 |
@app.route("/window",methods=["POST"])
|