diff --git a/.runtime/portal/scripts/check-stream-runtime.mjs b/.runtime/portal/scripts/check-stream-runtime.mjs index 4cb9074..fd9730e 100755 --- a/.runtime/portal/scripts/check-stream-runtime.mjs +++ b/.runtime/portal/scripts/check-stream-runtime.mjs @@ -47,6 +47,7 @@ async function checkJson(pathname) { async function checkSseHeaders(pathname) { const { res } = await fetchText(`${publicBase}${pathname}`, { + method: 'HEAD', headers: { Accept: 'text/event-stream' }, }); return { diff --git a/scripts/check-stream-runtime.mjs b/scripts/check-stream-runtime.mjs index 4cb9074..fd9730e 100755 --- a/scripts/check-stream-runtime.mjs +++ b/scripts/check-stream-runtime.mjs @@ -47,6 +47,7 @@ async function checkJson(pathname) { async function checkSseHeaders(pathname) { const { res } = await fetchText(`${publicBase}${pathname}`, { + method: 'HEAD', headers: { Accept: 'text/event-stream' }, }); return {