Merge branch 'newvis' into ingeborga

This commit is contained in:
Nastya 2023-10-23 20:51:23 +03:00
commit 5006042995
2 changed files with 2 additions and 6 deletions

@ -5,10 +5,6 @@
<link rel="icon" href="%PUBLIC_URL%/favicon.ico" />
<meta name="viewport" content="width=device-width, initial-scale=1" />
<meta name="theme-color" content="#000000" />
<meta
name="description"
content="Web site created using create-react-app"
/>
<link rel="apple-touch-icon" href="%PUBLIC_URL%/logo192.png" />
<!--
manifest.json provides metadata used when your web app is installed on a

@ -1,13 +1,13 @@
import axios from "axios";
const domen = window.location.hostname === "localhost" ? "squiz.pena.digital" : window.location.hostname
export function sendContactFormRequest(body: {
contact: string;
whoami: string;
}) {
return axios("https://squiz.pena.digital/feedback/callme", {
return axios(`https://${domen}/feedback/callme`, {
method: "POST",
headers: {
"Content-Type": "application/json",