This commit is contained in:
j 2018-07-15 00:39:03 +02:00
parent fdd5101bc7
commit 91e6674da8

View file

@ -30,7 +30,7 @@ def api(request):
'api': api,
'settings': settings,
'sitename': settings.SITENAME
})
}
response = render_to_response('api.html', context)
response['Access-Control-Allow-Origin'] = '*'
return response