route /api/table/table_name: Add explicit end event to end of stream
....othehrwise the browser will continue attempting to reconnect :-/
This commit is contained in:
parent
181e3c692d
commit
a62c8e6b4e
1 changed files with 1 additions and 1 deletions
|
@ -12,6 +12,6 @@ export default async function(sys, ctx, _next) {
|
||||||
table: next.table
|
table: next.table
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
stream.write_json(`end`, {});
|
||||||
stream.end();
|
stream.end();
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue