Skip to content

Commit

Permalink
Fix: Solved CORS issue on notify endpoint.
Browse files Browse the repository at this point in the history
  • Loading branch information
Andres D. Molins committed Jan 26, 2024
1 parent b69276c commit 8be1bee
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/aleph/vm/orchestrator/views/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -483,4 +483,5 @@ async def notify_allocation(request: web.Request):
"errors": {vm_hash: repr(error) for vm_hash, error in scheduling_errors.items()},
},
status=status_code,
headers={"Access-Control-Allow-Origin": "*"},
)

0 comments on commit 8be1bee

Please sign in to comment.