Change default port from 3000 to 7200
This commit is contained in:
parent
766ee9b67c
commit
43f7574e4e
4 changed files with 4 additions and 4 deletions
2
TODO.txt
2
TODO.txt
|
|
@ -1,4 +1,4 @@
|
|||
Server listening on http://localhost:3000
|
||||
Server listening on http://localhost:7200
|
||||
[Bun.serve]: request timed out after 10 seconds. Pass `idleTimeout` to configure.
|
||||
------------
|
||||
|
||||
|
|
|
|||
|
|
@ -132,7 +132,7 @@ SSE `/events` (Server -> Dashboard):
|
|||
## verification
|
||||
|
||||
1. `bun run src/cli.ts` - starts PTY wrapper
|
||||
2. visit `http://localhost:3000` - see dashboard
|
||||
2. visit `http://localhost:7200` - see dashboard
|
||||
3. type in CLI - output appears in dashboard
|
||||
4. trigger approval prompt - approve from dashboard
|
||||
5. `docker compose up` - deploys successfully
|
||||
|
|
|
|||
|
|
@ -14,7 +14,7 @@ interface Args {
|
|||
|
||||
function parseArgs(): Args {
|
||||
const args = process.argv.slice(2);
|
||||
let server = "ws://localhost:3000/ws";
|
||||
let server = "ws://localhost:7200/ws";
|
||||
let secret = "";
|
||||
const claudeArgs: string[] = [];
|
||||
|
||||
|
|
|
|||
|
|
@ -78,7 +78,7 @@ function broadcastSSE(event: SSEEvent): void {
|
|||
}
|
||||
|
||||
// Initialize database
|
||||
const port = Number.parseInt(process.env.PORT || "3000", 10);
|
||||
const port = Number.parseInt(process.env.PORT || "7200", 10);
|
||||
initDb();
|
||||
|
||||
// Start server
|
||||
|
|
|
|||
Loading…
Reference in a new issue