Skip to content

Commit

Permalink
환경 변수 테스트
Browse files Browse the repository at this point in the history
  • Loading branch information
BeA-Pro committed Jun 4, 2024
1 parent 72ab9e3 commit d6c7003
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion src/pages/Inquiry.js
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,9 @@ function Inquiry() {

const handleSubmit = (event) => {
event.preventDefault();

console.log(process.env.REACT_APP_SERVICE_ID)
console.log(process.env.REACT_APP_TEMPLATE_ID)
console.log(process.env.REACT_APP_PUBLICKEY)
emailjs.sendForm(process.env.REACT_APP_SERVICE_ID, process.env.REACT_APP_TEMPLATE_ID, formRef.current, process.env.REACT_APP_PUBLICKEY)
.then((response) => {
alert("성공적으로 이메일이 전송되었습니다.");
Expand Down

0 comments on commit d6c7003

Please sign in to comment.