aboutsummaryrefslogtreecommitdiffhomepage
path: root/resources/assets/js/setup.js
diff options
context:
space:
mode:
Diffstat (limited to 'resources/assets/js/setup.js')
-rw-r--r--resources/assets/js/setup.js5
1 files changed, 5 insertions, 0 deletions
diff --git a/resources/assets/js/setup.js b/resources/assets/js/setup.js
new file mode 100644
index 0000000..880bf91
--- /dev/null
+++ b/resources/assets/js/setup.js
@@ -0,0 +1,5 @@
+$.ajaxSetup({
+ headers: {
+ 'X-CSRF-Token': $('input[name="_token"]').val()
+ }
+}); \ No newline at end of file