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> {
|
||||
try {
|
||||
const response = await fetch(`${API_BASE_URL}/`);
|
||||
const response = await fetch(`${API_BASE_URL}/api/`);
|
||||
return response.ok;
|
||||
} catch {
|
||||
return false;
|
||||
|
||||
Reference in New Issue
Block a user