diff --git a/src/eddn/Gateway.py b/src/eddn/Gateway.py index 3eed61f..63d10d7 100644 --- a/src/eddn/Gateway.py +++ b/src/eddn/Gateway.py @@ -159,9 +159,8 @@ def parse_and_error_handle(data): return "FAIL: " + str(validationResults.messages) -@app.route('/upload/', methods=['OPTIONS', 'POST']) +@app.route('/upload/', method=['OPTIONS', 'POST']) def upload(): - response.set_header("Access-Control-Allow-Origin", "*") try: # Body may or may not be compressed. message_body = get_decompressed_message()