1. 程式人生 > 其它 >取消Koa2寫的伺服器中兩分鐘的超時設定

取消Koa2寫的伺服器中兩分鐘的超時設定

技術標籤:node.js

const server = app.listen(80, () => { console.log('Server is running at port 80'); })
 //取消超時時間 
server.setTimeout(0)