Commit 14dee2f6 authored by Internship UKSW 2019's avatar Internship UKSW 2019

Initial commit

parent e7265e8c
...@@ -823,8 +823,7 @@ class FormCreate extends Component { ...@@ -823,8 +823,7 @@ class FormCreate extends Component {
<p>Admin</p><br /> \ <p>Admin</p><br /> \
<p><i>Ini adalah email otomatis, harap jangan me-reply ke alamat email ini</i></p>" <p><i>Ini adalah email otomatis, harap jangan me-reply ke alamat email ini</i></p>"
} }
// process.env.REACT_APP_MAIN_APIURL let responseSendEmail = await fetch(process.env.REACT_APP_MAIN_APIURL + '/email', {
let responseSendEmail = await fetch('http://localhost:9000/email', {
headers: { 'Content-Type': 'application/json' }, headers: { 'Content-Type': 'application/json' },
method: 'POST', method: 'POST',
body: JSON.stringify(postdataEmail) body: JSON.stringify(postdataEmail)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment