aankitdas commited on
Commit
a7da76e
·
1 Parent(s): 89f7ad7

Fix: use dynamix API URL

Browse files
Files changed (1) hide show
  1. frontend/index.html +1 -1
frontend/index.html CHANGED
@@ -380,7 +380,7 @@
380
  </div>
381
 
382
  <script>
383
- const API_URL = 'http://localhost:8000';
384
 
385
  // Upload handlers
386
  const uploadArea = document.getElementById('uploadArea');
 
380
  </div>
381
 
382
  <script>
383
+ const API_URL = window.location.origin; // 'http://localhost:8000';
384
 
385
  // Upload handlers
386
  const uploadArea = document.getElementById('uploadArea');