Skip to content

Commit

Permalink
Updated views.py
Browse files Browse the repository at this point in the history
  • Loading branch information
yashdusing committed Nov 17, 2018
1 parent a609a32 commit 9ec3aeb
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion ide/views.py
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,10 @@


def index(request):
return render(request, 'index.html')
response = render(request, "index.html", {})
response['X-Content-Type-Options'] = 'nosniff'
response['X-XSS-Protection'] = '1'
return response


@csrf_exempt
Expand Down

0 comments on commit 9ec3aeb

Please sign in to comment.