Skip to content

Commit 58ba514

Browse files
committed
drop old html fragment header
1 parent dd20cf4 commit 58ba514

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/index.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -106,7 +106,7 @@ async function fetchResults(remoteInput: RemoteInputElement, checkCurrentQuery:
106106
response = await fetchWithNetworkEvents(remoteInput, url.toString(), {
107107
signal: state.controller.signal,
108108
credentials: 'same-origin',
109-
headers: {accept: 'text/html; fragment, text/fragment+html'}
109+
headers: {accept: 'text/fragment+html'}
110110
})
111111
html = await response.text()
112112
remoteInput.removeAttribute('loading')

0 commit comments

Comments
 (0)