diff --git a/src/main.ts b/src/main.ts index 3db41df..ce67ebe 100644 --- a/src/main.ts +++ b/src/main.ts @@ -21,6 +21,7 @@ import { EventsPlugin } from "./eventBus/events"; const app = createApp(App); +axios.defaults.withXSRFToken = true; axios.defaults.withCredentials = true; // Set accept header axios.defaults.headers.common["X-Requested-With"] = "XMLHttpRequest";