mirror of
https://github.com/toeverything/AFFiNE.git
synced 2024-12-23 02:21:49 +03:00
fix: request url
This commit is contained in:
parent
8cc88395d7
commit
5985d53625
@ -36,7 +36,7 @@ const withTolgee = (
|
||||
} else {
|
||||
// URL or URLLike + ?RequestInit
|
||||
if (typeof argArray[0] === 'string') {
|
||||
argArray[0] = TOLGEE_API_URL + argArray[0];
|
||||
argArray[0] = `${TOLGEE_API_URL}/v2/projects${argArray[0]}`;
|
||||
}
|
||||
if (!argArray[1]) {
|
||||
argArray[1] = {};
|
||||
|
Loading…
Reference in New Issue
Block a user