From 3a8a8ca3ac88b9fe52b0f5b2db1b0eb3a971afea Mon Sep 17 00:00:00 2001 From: drkthunder02 Date: Tue, 17 Mar 2026 02:51:46 -0500 Subject: [PATCH] update --- resources/js/app.js | 1 + resources/js/bootstrap.js | 4 ++++ 2 files changed, 5 insertions(+) create mode 100644 resources/js/app.js create mode 100644 resources/js/bootstrap.js diff --git a/resources/js/app.js b/resources/js/app.js new file mode 100644 index 0000000..eb10405 --- /dev/null +++ b/resources/js/app.js @@ -0,0 +1 @@ +import './bootstrap'; \ No newline at end of file diff --git a/resources/js/bootstrap.js b/resources/js/bootstrap.js new file mode 100644 index 0000000..1f5ea05 --- /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'; \ No newline at end of file