nsarrazin HF Staff commited on
Commit
92f26be
·
1 Parent(s): 221919b

fix: new api routes in updateLocalEnv

Browse files
Files changed (1) hide show
  1. scripts/updateLocalEnv.ts +1 -1
scripts/updateLocalEnv.ts CHANGED
@@ -27,7 +27,7 @@ let full_config = `${PUBLIC_CONFIG}\n${SECRET_CONFIG}`;
27
  // replace the internal proxy url with the public endpoint
28
  full_config = full_config.replaceAll(
29
  "https://internal.api-inference.huggingface.co",
30
- "https://api-inference.huggingface.co"
31
  );
32
 
33
  full_config = full_config.replaceAll("COOKIE_SECURE=`true`", "COOKIE_SECURE=`false`");
 
27
  // replace the internal proxy url with the public endpoint
28
  full_config = full_config.replaceAll(
29
  "https://internal.api-inference.huggingface.co",
30
+ "https://router.huggingface.co/hf-inference"
31
  );
32
 
33
  full_config = full_config.replaceAll("COOKIE_SECURE=`true`", "COOKIE_SECURE=`false`");