File tree Expand file tree Collapse file tree 2 files changed +5
-3
lines changed Expand file tree Collapse file tree 2 files changed +5
-3
lines changed Original file line number Diff line number Diff line change 11{
22 "name" : " blink" ,
3- "version" : " 1.1.30 " ,
3+ "version" : " 1.1.31 " ,
44 "description" : " Blink is a tool for building and deploying AI agents." ,
55 "type" : " module" ,
66 "bin" : {
Original file line number Diff line number Diff line change @@ -33,9 +33,11 @@ export default async function serveCompute() {
3333 throw new Error ( "PORT environment variable is not a number" ) ;
3434 }
3535
36- const wss = new WebSocketServer ( { port } ) ;
36+ const host = process . env . HOST ?? "127.0.0.1" ;
3737
38- console . log ( `Compute server running on port ${ port } ` ) ;
38+ const wss = new WebSocketServer ( { port, host } ) ;
39+
40+ console . log ( `Compute server running on ${ host } :${ port } ` ) ;
3941
4042 wss . on ( "connection" , ( ws ) => {
4143 console . log ( "Client connected" ) ;
You can’t perform that action at this time.
0 commit comments