|
|
|
@ -61,7 +61,7 @@ async function forwardOutput() {
|
|
|
|
|
switch (messageType) {
|
|
|
|
|
case 1:
|
|
|
|
|
case 2:
|
|
|
|
|
const text = encodeURIComponent(buff.subarray(37).toString());
|
|
|
|
|
const text = encodeURIComponent(buff.subarray(33).toString());
|
|
|
|
|
raw.write('event: message\n');
|
|
|
|
|
if (messageType === 1) {
|
|
|
|
|
raw.write('id: stdout\n');
|
|
|
|
|