Skip to content

Commit

Permalink
Support wakapi compat endpoint
Browse files Browse the repository at this point in the history
  • Loading branch information
alanhamlett committed Oct 8, 2024
1 parent 66b570b commit 5b8d66a
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions src/utils/user.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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;
};

Expand Down

0 comments on commit 5b8d66a

Please sign in to comment.