Laravel-based OAuth/IAM service with Passport, Vue 3 frontend, and Docker Compose setup for local and production deployment. Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
14 lines
296 B
TypeScript
14 lines
296 B
TypeScript
import axios from 'axios';
|
|
|
|
declare global {
|
|
interface Window {
|
|
axios: typeof axios;
|
|
}
|
|
}
|
|
|
|
window.axios = axios;
|
|
|
|
window.axios.defaults.headers.common['X-Requested-With'] = 'XMLHttpRequest';
|
|
window.axios.defaults.withCredentials = true;
|
|
window.axios.defaults.withXSRFToken = true;
|