Skip to content

There can be more than Notion and Miro. AFFiNE(pronounced [ə‘fain]) is a next-gen knowledge base that brings planning, sorting and creating all together. Privacy first, open-source, customizable and ready to use.

fix: request url

lawvs5985d53625d6
diff --git a/libs/datasource/i18n/src/scripts/request.ts b/libs/datasource/i18n/src/scripts/request.ts
index 64e18bd9bd..3368feb634 100644
--- a/libs/datasource/i18n/src/scripts/request.ts
+++ b/libs/datasource/i18n/src/scripts/request.ts
@@ -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] = {};