feat: fix return to home when dev.sh is used with source
This commit is contained in:
@@ -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