@@ -263,7 +263,7 @@ <h3 id="methods">
263263< li > < code > "live"</ code > → < code > https://exwiseapi.onrender.com</ code > </ li >
264264< li > Any other value → Determines based on current window location.</ li >
265265< li > If the URL contains < code > "localhost"</ code > , returns < code > http://localhost:8000</ code > .</ li >
266- < li > If the URL contains < code > "exwiseapi "</ code > , returns < code > https://exwiseapi.onrender.com</ code > .</ li >
266+ < li > If the URL contains < code > "exwise "</ code > , returns < code > https://exwiseapi.onrender.com</ code > .</ li >
267267< li > Defaults to < code > http://localhost:8000</ code > if none of the above conditions are met.</ li >
268268</ ul >
269269</ div >
@@ -455,7 +455,7 @@ <h3 id="inputs">
455455 * - `"live"` → `https://exwiseapi.onrender.com`
456456 * - Any other value → Determines based on current window location.
457457 * - If the URL contains `"localhost"`, returns `http://localhost:8000`.
458- * - If the URL contains `"exwiseapi "`, returns `https://exwiseapi.onrender.com`.
458+ * - If the URL contains `"exwise "`, returns `https://exwiseapi.onrender.com`.
459459 * - Defaults to `http://localhost:8000` if none of the above conditions are met.
460460 * @returns {string} The API base URL for the current environment.
461461 */
@@ -470,7 +470,7 @@ <h3 id="inputs">
470470 if (window.location.href.includes("localhost")) {
471471 return "http://localhost:8000";
472472 }
473- else if (window.location.href.includes("exwiseapi ")) {
473+ else if (window.location.href.includes("exwise ")) {
474474 return "https://exwiseapi.onrender.com";
475475 }
476476 return "http://localhost:8000";
0 commit comments