We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent f0cb837 commit 3b583c9Copy full SHA for 3b583c9
assets/js/components/index.js
@@ -358,13 +358,14 @@ export function intIndex() {
358
359
$btn.prop("disabled", true).text("Odesílání...");
360
361
- // Use local proxy to avoid CORS issues
362
- fetch("/api-proxy.php", {
+ // Call API directly (CORS is now configured on backend)
+ fetch("https://projectmanager-8352.rostiapp.cz/api/ingest/luxury-cars/proces_orders", {
363
method: "POST",
364
headers: {
365
"Content-Type": "application/json",
366
+ "Accept": "application/json"
367
},
- body: JSON.stringify({ start: true }),
368
+ body: JSON.stringify({ start: true })
369
})
370
.then(function (response) {
371
if (response.ok) {
0 commit comments