title: React.js App SyntaxError: JSON.parse: unexpected character at line 1 column 1 of the JSON data
body: <p>After deploy react.js application on server I am getting error in contact form as in title. On localhost the form worked without any errors. The problem occurs just after clicking the sumbit button on the form. Then you can see the error in the console. Do any of you see any error in the code below? Where can I look for a solution to this error?</p>
  <p>Live version of the contact page</p>
  <p><a href="https://delightart.co/contact" rel="nofollow noreferrer">Contact page</a></p>
  <p>ContactForm.js</p>
  <pre><code>const ContactForm = () =&gt; {
    const [status, setStatus] = useState(&quot;Submit&quot;);
    const handleSubmit = async (e) =&gt; {
      e.preventDefault();
      setStatus(&quot;Sending...&quot;);
      const { name, email, subject, business, datetime, launch, message } = e.target.elements;
      let details = {
        name: name.value,
        email: email.value,
        subject: subject.value,
        business: business.value,
        datetime: datetime.value,
        launch: launch.value,
        message: message.value,
      };
      let response = await fetch(&quot;https://delightart.co/send&quot;, {
        method: &quot;POST&quot;,
        headers: {
          &quot;Content-Type&quot;: &quot;application/json;charset=utf-8&quot;,
        },
        body: JSON.stringify(details),
      });
      setStatus(&quot;Submit&quot;);
      let result = await response.json();
      alert(result.status);
    };
  </code></pre>