Skip to content

Commit 4110f0e

Browse files
committed
update
1 parent 96c6c4d commit 4110f0e

3 files changed

Lines changed: 7 additions & 7 deletions

File tree

documentation/injectables/ConfigService.html

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -263,7 +263,7 @@ <h3 id="methods">
263263
<li><code>&quot;live&quot;</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>&quot;localhost&quot;</code>, returns <code>http://localhost:8000</code>.</li>
266-
<li>If the URL contains <code>&quot;exwiseapi&quot;</code>, returns <code>https://exwiseapi.onrender.com</code>.</li>
266+
<li>If the URL contains <code>&quot;exwise&quot;</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
* - &#x60;&quot;live&quot;&#x60; → &#x60;https://exwiseapi.onrender.com&#x60;
456456
* - Any other value → Determines based on current window location.
457457
* - If the URL contains &#x60;&quot;localhost&quot;&#x60;, returns &#x60;http://localhost:8000&#x60;.
458-
* - If the URL contains &#x60;&quot;exwiseapi&quot;&#x60;, returns &#x60;https://exwiseapi.onrender.com&#x60;.
458+
* - If the URL contains &#x60;&quot;exwise&quot;&#x60;, returns &#x60;https://exwiseapi.onrender.com&#x60;.
459459
* - Defaults to &#x60;http://localhost:8000&#x60; 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(&quot;localhost&quot;)) {
471471
return &quot;http://localhost:8000&quot;;
472472
}
473-
else if (window.location.href.includes(&quot;exwiseapi&quot;)) {
473+
else if (window.location.href.includes(&quot;exwise&quot;)) {
474474
return &quot;https://exwiseapi.onrender.com&quot;;
475475
}
476476
return &quot;http://localhost:8000&quot;;

documentation/js/search/search_index.js

Lines changed: 2 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

src/app/service/util/config/config.service.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ export class ConfigService {
3535
* - `"live"` → `https://exwiseapi.onrender.com`
3636
* - Any other value → Determines based on current window location.
3737
* - If the URL contains `"localhost"`, returns `http://localhost:8000`.
38-
* - If the URL contains `"exwiseapi"`, returns `https://exwiseapi.onrender.com`.
38+
* - If the URL contains `"exwise"`, returns `https://exwiseapi.onrender.com`.
3939
* - Defaults to `http://localhost:8000` if none of the above conditions are met.
4040
* @returns {string} The API base URL for the current environment.
4141
*/
@@ -50,7 +50,7 @@ export class ConfigService {
5050
if (window.location.href.includes("localhost")) {
5151
return "http://localhost:8000";
5252
}
53-
else if (window.location.href.includes("exwiseapi")) {
53+
else if (window.location.href.includes("exwise")) {
5454
return "https://exwiseapi.onrender.com";
5555
}
5656
return "http://localhost:8000";

0 commit comments

Comments
 (0)