diff --git a/packages/signalizejs/src/modules/ajax.js b/packages/signalizejs/src/modules/ajax.js index 76550d6..87a71d4 100755 --- a/packages/signalizejs/src/modules/ajax.js +++ b/packages/signalizejs/src/modules/ajax.js @@ -19,6 +19,7 @@ export default async ({ resolve }, config) => { try { requestOptions.headers = { 'X-Requested-With': config?.requestedWithHeader ?? 'XMLHttpRequest', + 'X-Current-Url': window.location.href, Accept: config?.acceptHeader ?? '*', ...options.headers ?? {} }