You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The /releases/ endpoint uses a really restrictive CORS setting which prevents ajax calls to fetch the list of releases. This is done because the same endpoint accept both GET (for listing, using HTTP and JSON renderers) and POST (for add/edit releases). The latter should be restricted to requests originated from Bodhi server itself.
We can add a new endpoint reusing the same view method of the GET /releases/ (using decorators) and assign the more relaxed cors_origin_ro CORS to it.
The text was updated successfully, but these errors were encountered:
The
/releases/
endpoint uses a really restrictive CORS setting which prevents ajax calls to fetch the list of releases. This is done because the same endpoint accept both GET (for listing, using HTTP and JSON renderers) and POST (for add/edit releases). The latter should be restricted to requests originated from Bodhi server itself.We can add a new endpoint reusing the same view method of the GET
/releases/
(using decorators) and assign the more relaxedcors_origin_ro
CORS to it.The text was updated successfully, but these errors were encountered: