Skip to content

Commit

Permalink
Use constant
Browse files Browse the repository at this point in the history
  • Loading branch information
RyanThompson committed Jan 17, 2017
1 parent 1d274c0 commit 1e95bd1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion resources/js/upload.js
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ $(function () {
paramName: 'upload',
url: REQUEST_ROOT_PATH + '/streams/files-field_type/handle',
headers: {
'X-CSRF-TOKEN': $('meta[name="csrf-token"]').attr('content')
'X-CSRF-TOKEN': CSRF_TOKEN
},
init: function () {
$('.dropzone').attr('data-initialized', '');
Expand Down

0 comments on commit 1e95bd1

Please sign in to comment.