We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents a99a3ca + 9b4e8a5 commit 422029cCopy full SHA for 422029c
packages/signalizejs/src/modules/ajax.js
@@ -19,6 +19,7 @@ export default async ({ resolve }, config) => {
19
try {
20
requestOptions.headers = {
21
'X-Requested-With': config?.requestedWithHeader ?? 'XMLHttpRequest',
22
+ 'X-Current-Url': window.location.href,
23
Accept: config?.acceptHeader ?? '*',
24
...options.headers ?? {}
25
}
0 commit comments