From 9508602e6bae110705a64c49d7c2153ba1d48aaf Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Gerard=20Berengu=C3=A9?= Date: Wed, 6 Sep 2023 09:15:49 +0200 Subject: [PATCH] Update src file --- src/LiveComponent/assets/src/Backend/RequestBuilder.ts | 1 + 1 file changed, 1 insertion(+) diff --git a/src/LiveComponent/assets/src/Backend/RequestBuilder.ts b/src/LiveComponent/assets/src/Backend/RequestBuilder.ts index 2fe6e3b0254..d43dfdb5bca 100644 --- a/src/LiveComponent/assets/src/Backend/RequestBuilder.ts +++ b/src/LiveComponent/assets/src/Backend/RequestBuilder.ts @@ -25,6 +25,7 @@ export default class { const fetchOptions: RequestInit = {}; fetchOptions.headers = { Accept: 'application/vnd.live-component+html', + 'X-Requested-With': 'XMLHttpRequest', }; const totalFiles = Object.entries(files).reduce(