fixed vendor-uploads.php
This commit is contained in:
parent
c8529f58cf
commit
155cd3df6e
|
@ -503,7 +503,7 @@ $array = json_decode($result, true);
|
|||
const payload = {
|
||||
product_image: `https://<?php echo $_SESSION["data_endpoint"]; ?>/images/storage/product_uploads/${filename}`,
|
||||
};
|
||||
fetch('https://<?php echo $_SESSION["data_endpoint"]; ?>/api/v1/upload_image', {
|
||||
fetch('https://api.obanana.shop/api/v1/upload_image', {
|
||||
method: 'POST',
|
||||
body: formData
|
||||
})
|
||||
|
|
Loading…
Reference in New Issue