add generation cancellation middleware and refactor chat/message workflows to support HTTP client disconnections
This commit is contained in:
@@ -0,0 +1,10 @@
|
||||
/** Local-only browser regression harness; serves no account data or workspace files. */
|
||||
import express from "express";
|
||||
import {fileURLToPath} from "node:url";
|
||||
|
||||
const app = express();
|
||||
app.use("/public/js", express.static(fileURLToPath(new URL("../public/js", import.meta.url))));
|
||||
app.use("/browser-tests", express.static(fileURLToPath(new URL("../browser-tests", import.meta.url))));
|
||||
const server = app.listen(0, "127.0.0.1", () => {
|
||||
console.log(`Navigation tests: http://127.0.0.1:${server.address().port}/browser-tests/conversation.html`);
|
||||
});
|
||||
Reference in New Issue
Block a user