fetch(url, {method: 'GET', timeout: 5000}) .then(response => { if ... on Fetch not having timeout you could use the node-fetch rather than native Fetch API.
確定! 回上一頁