Skip to content

A self-hosted media server and file management system

chore: remove irrelevant comments

aminnausin6ffadc9ea509
diff --git a/resources/js/bootstrap.ts b/resources/js/bootstrap.ts
index ba755224..79e6bdeb 100644
--- a/resources/js/bootstrap.ts
+++ b/resources/js/bootstrap.ts
@@ -11,7 +11,7 @@ const appName = (window as any).APP_NAME || 'mediaServer';
window.axios = axios;
window.axios.defaults.headers.common['X-Requested-With'] = 'XMLHttpRequest';
-window.axios.defaults.xsrfCookieName = `${appName}_XSRF-TOKEN`; // this does not work
+window.axios.defaults.xsrfCookieName = `${appName}_XSRF-TOKEN`;
window.axios.defaults.xsrfHeaderName = 'X-XSRF-TOKEN';
window.axios.defaults.withCredentials = true;