We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent e0c5405 commit 8881b96Copy full SHA for 8881b96
1 file changed
src/services/DavClient.js
@@ -24,6 +24,9 @@ import webdav from 'webdav'
24
import axios from '@nextcloud/axios'
25
import { getRootPath, getToken, isPublic } from '../utils/davUtils'
26
27
+// Add this so the server knows it is an request from the browserg
28
+axios.defaults.headers['X-Requested-With'] = 'XMLHttpRequest'
29
+
30
// force our axios
31
const patcher = webdav.getPatcher()
32
patcher.patch('request', axios)
0 commit comments