Skip to content

Commit b1a0c43

Browse files
authored
Update live_controller.js
Solves issue #1095
1 parent 19feb79 commit b1a0c43

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/LiveComponent/assets/dist/live_controller.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2154,6 +2154,7 @@ class RequestBuilder {
21542154
const fetchOptions = {};
21552155
fetchOptions.headers = {
21562156
Accept: 'application/vnd.live-component+html',
2157+
'X-Requested-With': 'XMLHttpRequest',
21572158
};
21582159
const totalFiles = Object.entries(files).reduce((total, current) => total + current.length, 0);
21592160
const hasFingerprints = Object.keys(children).length > 0;

0 commit comments

Comments
 (0)