aboutsummaryrefslogtreecommitdiff
path: root/resources/js
diff options
context:
space:
mode:
authorryo <ryo@nopwd.lol>2025-03-06 13:06:42 +0000
committerryo <ryo@nopwd.lol>2025-03-06 13:06:42 +0000
commite1a48c8208c181fd40ecb065878ba9ea49b1f48f (patch)
treed7a0cafef9d406dd21a694ed60ab6f1ea034335f /resources/js
Initial Commit
Diffstat (limited to 'resources/js')
-rw-r--r--resources/js/app.js1
-rw-r--r--resources/js/bootstrap.js4
2 files changed, 5 insertions, 0 deletions
diff --git a/resources/js/app.js b/resources/js/app.js
new file mode 100644
index 0000000..e59d6a0
--- /dev/null
+++ b/resources/js/app.js
@@ -0,0 +1 @@
+import './bootstrap';
diff --git a/resources/js/bootstrap.js b/resources/js/bootstrap.js
new file mode 100644
index 0000000..5f1390b
--- /dev/null
+++ b/resources/js/bootstrap.js
@@ -0,0 +1,4 @@
+import axios from 'axios';
+window.axios = axios;
+
+window.axios.defaults.headers.common['X-Requested-With'] = 'XMLHttpRequest';