fix: avoid opening sse in runtime check

This commit is contained in:
John
2026-07-02 07:06:25 +08:00
parent fa0024907b
commit c9b7252832
2 changed files with 2 additions and 0 deletions
+1
View File
@@ -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 {