annotate resources/js/bootstrap.js @ 0:9d7dcd54c677

Initial Commit and package setup
author luka
date Sat, 23 Aug 2025 22:20:51 -0400
parents
children
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
0
9d7dcd54c677 Initial Commit and package setup
luka
parents:
diff changeset
1 import axios from 'axios';
9d7dcd54c677 Initial Commit and package setup
luka
parents:
diff changeset
2 window.axios = axios;
9d7dcd54c677 Initial Commit and package setup
luka
parents:
diff changeset
3
9d7dcd54c677 Initial Commit and package setup
luka
parents:
diff changeset
4 window.axios.defaults.headers.common['X-Requested-With'] = 'XMLHttpRequest';