728x90 반응형 IT/JavaScript와 Framework99 크롤링시 self-signed certificate in certificate chain 에러 처리 아래 코드를 한주 넣으느 해결됨. //아래 코드는 Axios 코드 에러를 막기 위한 줄이다. //AxiosError: self-signed certificate in certificate chain //출처: https://yeonfamily.tistory.com/18 [Yeons:티스토리] process.env.NODE_TLS_REJECT_UNAUTHORIZED = '0'; 해결책은 아래 링크를 통해서 해결함. https://yeonfamily.tistory.com/18 Node.js | self signed certificate (자체 서명 인증서) 에러 발생 원인과 Axios에서 해결 해보기 개요 SSL 요청 중 발생할 수 있는 self signed certificate 에러의 발생 원인과 Node.. 2023. 11. 13. webhook 이란 https://leffept.tistory.com/329 [Webhook]웹훅이란? Webhook 이란? "A webhook in web development is a method of augmenting or altering the behavior of a web page or web application with custom callbacks." (위키피디아 발췌) 위키피디아의 설명에 따르면 웹훅은 웹페이지 또는 웹앱 leffept.tistory.com 2023. 4. 3. Promise 예제 const myPromise = new Promise( (resolve, reject) => { setTimeout( () => { reject(new Error()); }, 1000) }); myPromise.then(result => { console.log(result); }).catch(e => { console.error(e); }) 2023. 2. 11. lodash lodash는 JavaScript의 인기있는 라이브러리 중 하나. Array, Collection, Date 등 데이터를 쉽게 다룰 수 있게 도와줌. 배열안에 객체들의 값을 다룰 때 유용. 예제 코드는 다음에.... 2023. 1. 10. 이전 1 2 3 4 5 6 7 ··· 25 다음 728x90 반응형