D Ф m i И i q ц e L Ф y e r commited on
Commit
2339aa2
·
1 Parent(s): 6ffa86f

fix: dynamic API URL — HF Space uses relative path, local uses localhost:5001

Browse files
Files changed (1) hide show
  1. syscred/static/index.html +1 -0
syscred/static/index.html CHANGED
@@ -928,6 +928,7 @@
928
  <script>
929
  // Backend URLs
930
  const LOCAL_API_URL = 'http://localhost:5001';
 
931
  const REMOTE_API_URL = 'https://domloyer-syscred.hf.space';
932
  let API_URL = '';
933
 
 
928
  <script>
929
  // Backend URLs
930
  const LOCAL_API_URL = 'http://localhost:5001';
931
+ const HF_API_URL = '';
932
  const REMOTE_API_URL = 'https://domloyer-syscred.hf.space';
933
  let API_URL = '';
934