mirror of
https://github.com/linuxserver/Heimdall.git
synced 2025-12-05 14:33:49 +09:00
Revert "Replace Mix with Vite"
This commit is contained in:
6
resources/assets/js/bootstrap.js
vendored
6
resources/assets/js/bootstrap.js
vendored
@@ -1,6 +1,5 @@
|
||||
|
||||
import _ from 'lodash';
|
||||
window._ = _;
|
||||
window._ = require('lodash');
|
||||
|
||||
/**
|
||||
* We'll load jQuery and the Bootstrap jQuery plugin which provides support
|
||||
@@ -20,8 +19,7 @@ try {
|
||||
* CSRF token as a header based on the value of the "XSRF" token cookie.
|
||||
*/
|
||||
|
||||
import axios from 'axios';
|
||||
window.axios = axios;
|
||||
window.axios = require('axios');
|
||||
|
||||
window.axios.defaults.headers.common['X-Requested-With'] = 'XMLHttpRequest';
|
||||
|
||||
|
||||
Reference in New Issue
Block a user