add some php host api and add hire developer and ai agent page
This commit is contained in:
@@ -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();
|
||||
|
||||
@@ -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',
|
||||
|
||||
@@ -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();
|
||||
|
||||
Reference in New Issue
Block a user