Skip to content

Commit 2a120ed

Browse files
authored
Update index.html
1 parent c978172 commit 2a120ed

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

simulators/Orion/index.html

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -531,14 +531,14 @@
531531
// API CONFIGURATION
532532
// ══════════════════════════════════════════════════════════
533533
// UPDATE THIS to your actual Vercel deployment URL
534-
const API_BASE_URL = 'https://aion-backend-mu.vercel.app';
534+
const API_BASE_URL = 'https://aion-backend-mu.vercel.app/api/simulators';
535535

536536
async function callAPI(module, params) {
537537
try {
538538
const res = await fetch(`${API_BASE_URL}/api/orion`, {
539539
method: 'POST',
540540
headers: { 'Content-Type': 'application/json' },
541-
body: JSON.stringify({ module, params })
541+
body: JSON.stringify({ simulator: 'orion', module, params })
542542
});
543543
if (!res.ok) {
544544
const err = await res.json().catch(() => ({}));
@@ -1141,4 +1141,4 @@
11411141
</script>
11421142
</body>
11431143
</html>
1144-
1144+

0 commit comments

Comments
 (0)