github-actions[bot] commited on
Commit
cc13016
·
1 Parent(s): 993e34a

Auto-deploy from GitHub: 773b9e8ac7dd4cb7d49fed582cbd427e47b0292d

Browse files
Files changed (1) hide show
  1. index.html +3 -3
index.html CHANGED
@@ -622,7 +622,7 @@
622
  </div>
623
 
624
  <script>
625
- const API_URL = 'http://localhost:7860/api';
626
  let selectedFile = null;
627
 
628
  // Upload zone interactions
@@ -794,8 +794,8 @@
794
  // Refresh button
795
  document.getElementById('refreshBtn').addEventListener('click', loadFiles);
796
 
797
- // Auto-refresh every 3 seconds
798
- setInterval(loadFiles, 3000);
799
 
800
  // Show notification
801
  function showNotification(message, type = 'success') {
 
622
  </div>
623
 
624
  <script>
625
+ const API_URL = '/api';
626
  let selectedFile = null;
627
 
628
  // Upload zone interactions
 
794
  // Refresh button
795
  document.getElementById('refreshBtn').addEventListener('click', loadFiles);
796
 
797
+ // Auto-refresh every 10 minutes
798
+ setInterval(loadFiles, 1000 * 60 * 10);
799
 
800
  // Show notification
801
  function showNotification(message, type = 'success') {