mirror of
https://github.com/EDCD/EDDN.git
synced 2025-04-23 03:50:30 +03:00
Ensure CORS available from gateway upload
This commit is contained in:
parent
d11714f9d6
commit
a6546c3628
@ -167,6 +167,7 @@ def parse_and_error_handle(data):
|
||||
|
||||
@post('/upload/')
|
||||
def upload():
|
||||
response.set_header("Access-Control-Allow-Origin", "*")
|
||||
try:
|
||||
# Body may or may not be compressed.
|
||||
message_body = get_decompressed_message()
|
||||
|
Loading…
x
Reference in New Issue
Block a user