forked from GithubBackups/healthchecks
CORS header for ping call
This commit is contained in:
parent
2750729bc9
commit
17b87c093f
@ -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):
|
||||
|
Loading…
x
Reference in New Issue
Block a user