Skip to content

Commit c9c1441

Browse files
committed
disable chat for development
1 parent 1a09818 commit c9c1441

File tree

2 files changed

+2
-7
lines changed

2 files changed

+2
-7
lines changed

hugo.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ params:
1616

1717
copyright: "2024 OctaByte. All rights reserved."
1818

19-
liveChat: true
19+
liveChat: false
2020
email: support@octabyte.io
2121

2222
social:

layouts/page/start-trial.html

Lines changed: 1 addition & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -50,8 +50,6 @@ <h2 class="text-3xl font-bold tracking-tight text-gray-900 sm:text-4xl">
5050

5151
requestData.plan = requestData.plan.toLowerCase();
5252

53-
54-
5553
try {
5654
const response = await fetch(
5755
"https://admin.octabyte.app/items/customer_services",
@@ -66,19 +64,16 @@ <h2 class="text-3xl font-bold tracking-tight text-gray-900 sm:text-4xl">
6664

6765
const data = await response.json();
6866

69-
console.log(data)
70-
7167
if (!response.ok) {
7268
throw new Error("There was an error submitting the form.");
7369
}
7470

7571
localStorage.removeItem("referral-code");
7672

77-
{{/* const data = await response.json(); */}}
7873
const session_url = data.data.session_url;
7974
window.location = session_url;
8075
} catch (error) {
81-
console.log(error)
76+
console.log(error);
8277
alert("There was an error submitting the form.");
8378
}
8479
}

0 commit comments

Comments
 (0)