feat: fix return to home when dev.sh is used with source
This commit is contained in:
1 parent
4ba1fd5a85
commit
68d8245596
1 file changed
+1
-1
@@ -147,7 +147,7 @@ export async function requestEntry(
|
|||||||
*/
|
*/
|
||||||
export async function checkServerHealth(): Promise<boolean> {
|
export async function checkServerHealth(): Promise<boolean> {
|
||||||
try {
|
try {
|
||||||
const response = await fetch(`${API_BASE_URL}/`);
|
const response = await fetch(`${API_BASE_URL}/api/`);
|
||||||
return response.ok;
|
return response.ok;
|
||||||
} catch {
|
} catch {
|
||||||
return false;
|
return false;
|
||||||
|
|||||||
Reference in new issue
Block a user