mirror of
https://github.com/catlog22/Claude-Code-Workflow.git
synced 2026-02-11 02:33:51 +08:00
feat: update server port handling and improve session lifecycle test assertions
This commit is contained in:
@@ -244,7 +244,7 @@ window.INITIAL_PATH = '${normalizePathForDisplay(initialPath).replace(/\\/g, '/'
|
||||
* @returns {Promise<http.Server>}
|
||||
*/
|
||||
export async function startServer(options: ServerOptions = {}): Promise<http.Server> {
|
||||
const port = options.port || 3456;
|
||||
const port = options.port ?? 3456;
|
||||
const initialPath = options.initialPath || process.cwd();
|
||||
|
||||
const server = http.createServer(async (req, res) => {
|
||||
|
||||
Reference in New Issue
Block a user