mirror of
https://github.com/enricoros/big-AGI.git
synced 2026-05-10 21:50:14 -07:00
AIX: disable comments in the demuxer parse
This commit is contained in:
@@ -55,7 +55,8 @@ function _createEventSourceDemuxer(): StreamDemuxer {
|
||||
console.warn(`stream.demuxers: parser error (${error.type}):`, error.field, error.value, error.line);
|
||||
},
|
||||
onComment: (comment: string) => {
|
||||
console.log('stream.demuxers: parser comment (safe to ignore):', comment);
|
||||
if (process.env.NODE_ENV === 'development')
|
||||
console.log('stream.demuxers: parser comment (safe to ignore):', comment);
|
||||
},
|
||||
});
|
||||
|
||||
|
||||
Reference in New Issue
Block a user