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 c978172 commit 2a120edCopy full SHA for 2a120ed
1 file changed
simulators/Orion/index.html
@@ -531,14 +531,14 @@
531
// API CONFIGURATION
532
// ══════════════════════════════════════════════════════════
533
// UPDATE THIS to your actual Vercel deployment URL
534
-const API_BASE_URL = 'https://aion-backend-mu.vercel.app';
+const API_BASE_URL = 'https://aion-backend-mu.vercel.app/api/simulators';
535
536
async function callAPI(module, params) {
537
try {
538
const res = await fetch(`${API_BASE_URL}/api/orion`, {
539
method: 'POST',
540
headers: { 'Content-Type': 'application/json' },
541
- body: JSON.stringify({ module, params })
+ body: JSON.stringify({ simulator: 'orion', module, params })
542
});
543
if (!res.ok) {
544
const err = await res.json().catch(() => ({}));
@@ -1141,4 +1141,4 @@
1141
</script>
1142
</body>
1143
</html>
1144
-
+
0 commit comments