fix: avoid opening sse in runtime check
This commit is contained in:
@@ -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 {
|
||||
|
||||
Reference in New Issue
Block a user