add csrftoken into batch_output.html

This commit is contained in:
Firmlyzhu 2018-12-22 18:43:17 +08:00
parent b7e1f189a8
commit 459771c986
1 changed files with 3 additions and 0 deletions

View File

@ -45,6 +45,9 @@
<script src="//cdn.bootcss.com/toastr.js/latest/js/toastr.min.js"></script>
<script type="text/javascript">
$.ajaxSetup({
headers: {'X-CSRFToken':'{{ csrf_token() }}'},
});
function updateOutput()
{
var host = window.location.host;