diff --git a/hc/api/views.py b/hc/api/views.py index 29e009cd..d69730ee 100644 --- a/hc/api/views.py +++ b/hc/api/views.py @@ -19,7 +19,9 @@ def ping(request, code): check.save() - return HttpResponse("OK") + response = HttpResponse("OK") + response["Access-Control-Allow-Origin"] = "*" + return response def status(request, code):