We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 7b62db8 commit c978172Copy full SHA for c978172
1 file changed
simulators/math-worksheet-builder/index.html
@@ -453,14 +453,14 @@
453
// API CONFIGURATION
454
// ══════════════════════════════════════════════════════════
455
// UPDATE to your actual Vercel URL before deploying
456
-const API_BASE_URL = 'https://aion-backend-mu.vercel.app';
+const API_BASE_URL = 'https://aion-backend-mu.vercel.app/api/simulators';
457
458
async function callAPI(module, params) {
459
try {
460
const res = await fetch(`${API_BASE_URL}/api/math-worksheet`, {
461
method: 'POST',
462
headers: { 'Content-Type': 'application/json' },
463
- body: JSON.stringify({ module, params })
+ body: JSON.stringify({ simulator: 'math-worksheet', module, params })
464
});
465
if (!res.ok) {
466
const err = await res.json().catch(() => ({}));
0 commit comments