select domen to callme
This commit is contained in:
parent
8f42430f40
commit
a6e1bbe1f1
@ -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",
|
||||
|
Loading…
Reference in New Issue
Block a user