Support wakapi compat endpoint

This commit is contained in:
Alan Hamlett
2024-10-08 22:55:23 +02:00
parent 66b570bc75
commit 5b8d66a16e

View File

@@ -21,9 +21,6 @@ export const getApiUrl = async () => {
apiUrl = apiUrl.slice(0, -suffix.length);
}
}
if (!apiUrl.endsWith('/api/v1')) {
apiUrl = `${apiUrl}/api/v1`;
}
return apiUrl;
};