Changing addresses of api
This commit is contained in:
+1
-2
@@ -387,8 +387,7 @@
|
|||||||
project: document.getElementById("message").value,
|
project: document.getElementById("message").value,
|
||||||
};
|
};
|
||||||
|
|
||||||
|
await fetch('http://api.micialware.ru/order', {
|
||||||
await fetch('http://localhost:81/order', {
|
|
||||||
method: 'POST',
|
method: 'POST',
|
||||||
headers: {
|
headers: {
|
||||||
'Content-Type': 'application/json'
|
'Content-Type': 'application/json'
|
||||||
|
|||||||
@@ -356,7 +356,7 @@
|
|||||||
};
|
};
|
||||||
|
|
||||||
try {
|
try {
|
||||||
await fetch('http://micialware.ru:81/order', {
|
await fetch('http://api.micialware.ru/order', {
|
||||||
method: 'POST',
|
method: 'POST',
|
||||||
headers: {
|
headers: {
|
||||||
'Content-Type': 'application/json'
|
'Content-Type': 'application/json'
|
||||||
|
|||||||
Reference in New Issue
Block a user