add some php host api and add hire developer and ai agent page

This commit is contained in:
Suvodip
2025-03-26 19:58:45 +05:30
parent 63c973f1ca
commit d2f3576d10
15 changed files with 1286 additions and 57 deletions

View File

@@ -7,7 +7,7 @@ import Layout from "../../layouts/Layout.astro"
</div>
<script is:inline>
fetch('/host-api/add-domain/')
fetch('http://localhost:2058/host-api/v1/add-domain/')
.then(response => {
if (!response.ok) throw new Error('Network error');
return response.json();

View File

@@ -20,7 +20,7 @@ import Layout from "../../layouts/Layout.astro"
responseElement.textContent = "Deleting domain...";
try {
const response = await fetch('/host-api/delete-domain/', {
const response = await fetch('http://localhost:2058/host-api/v1/delete-domain/', {
method: 'POST',
headers: {
'Content-Type': 'application/x-www-form-urlencoded',

View File

@@ -7,7 +7,7 @@ import Layout from "../../layouts/Layout.astro"
</div>
<script is:inline>
fetch('/host-api/list-domain/')
fetch('http://localhost:2058/host-api/v1/list-domain/')
.then(response => {
if (!response.ok) throw new Error('Network error');
return response.json();