Skip to content

Commit

Permalink
결제 관련 라이브러리 src 수정
Browse files Browse the repository at this point in the history
  • Loading branch information
alaneelee committed Jan 10, 2024
1 parent 60e11ed commit f23e412
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/modal/PaymentsModal.js
Original file line number Diff line number Diff line change
Expand Up @@ -181,9 +181,9 @@ const PaymentsModal = ({ closeModal }) => {
useEffect(() => {
fetchData();
const jquery = document.createElement('script');
jquery.src = 'http://code.jquery.com/jquery-1.12.4.min.js';
jquery.src = 'https://code.jquery.com/jquery-1.12.4.min.js';
const iamport = document.createElement('script');
iamport.src = 'http://cdn.iamport.kr/js/iamport.payment-1.1.7.js';
iamport.src = 'https://cdn.iamport.kr/js/iamport.payment-1.1.7.js';
document.head.appendChild(jquery);
document.head.appendChild(iamport);
return () => {
Expand Down

0 comments on commit f23e412

Please sign in to comment.