OTC API-Endpunkt korrigieren
This commit is contained in:
@@ -457,7 +457,7 @@ function render_auth_home_page(array $user, array $otcProducts = []): void
|
|||||||
echo " submitBtn.disabled = true;";
|
echo " submitBtn.disabled = true;";
|
||||||
echo " clearError();";
|
echo " clearError();";
|
||||||
echo " try {";
|
echo " try {";
|
||||||
echo " const response = await fetch('/public/api/otc-order.php', {";
|
echo " const response = await fetch('/api/otc-order.php', {";
|
||||||
echo " method: 'POST',";
|
echo " method: 'POST',";
|
||||||
echo " headers: { 'Content-Type': 'application/json' },";
|
echo " headers: { 'Content-Type': 'application/json' },";
|
||||||
echo " body: JSON.stringify(orderData)";
|
echo " body: JSON.stringify(orderData)";
|
||||||
|
|||||||
Reference in New Issue
Block a user