Commit 96393efd authored by Carl Schwan's avatar Carl Schwan 🚴
Browse files

Allow ev.kde.org to do requests to my.kde.org



Signed-off-by: Carl Schwan's avatarCarl Schwan <carl@carlschwan.eu>
parent ee5d8378
......@@ -53,4 +53,6 @@ class EvMembersView(View):
users = []
for user in models.User.objects.filter(roles__name__exact="ev-active"):
users.append(user.full_name)
return JsonResponse({"members": users})
response = JsonResponse({"members": users})
response["Access-Control-Allow-Origin"] = "*.kde.org"
return response
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment