Skip to content

Commit 00e08a2

Browse files
authored
Merge pull request #376 from antalike/v2/env-intl-merge
Fix bugs for international site
2 parents 86d9cc8 + 4161a24 commit 00e08a2

5 files changed

Lines changed: 8 additions & 5 deletions

File tree

app/app.vue

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -109,7 +109,7 @@ useHead({
109109
})
110110
111111
function showContentNavigation() {
112-
const path = normalizedPath.value
112+
const path = normalizedPath.value.split('?')[0] as string
113113
return path !== '/'
114114
&& !isApiPage()
115115
&& !path.includes('changelog')

app/components/AppFooter.vue

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -210,7 +210,10 @@ const qrcodeData = computed(() => [
210210
</span>
211211
</div>
212212
</div>
213-
<div class="flex flex-col sm:flex-row items-start sm:items-center gap-1 sm:gap-4 sm:mt-7.5 mt-5">
213+
<div
214+
v-if="!isIntl()"
215+
class="flex flex-col sm:flex-row items-start sm:items-center gap-1 sm:gap-4 sm:mt-7.5 mt-5"
216+
>
214217
<p class="text-copyright sm:text-base text-xs leading-5.5 whitespace-nowrap">
215218
{{ $t('footer.icpFilingNumber') }}
216219
</p>

content/cn/usecase/knowledge_qa_assistant.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -369,7 +369,7 @@ pip install OpenAI && pip install datetime
369369

370370
##### 获取秘钥(API\_KEY)
371371

372-
登录控制台[https://memos-dashboard.openmem.net/cn/apikeys/](https://memos-dashboard.openmem.net/cn/apikeys/),复制秘钥
372+
登录[控制台](https://memos-dashboard.openmem.net/cn/apikeys/),复制秘钥
373373

374374
![image.png](https://cdn.memtensor.com.cn/img/1768481468406_q51iqx_compressed.png)
375375

content/en/usecase/knowledge_qa_assistant.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -368,7 +368,7 @@ pip install OpenAI && pip install datetime
368368

369369
##### Get the key (API_KEY)
370370

371-
Log into the console at [https://memos-dashboard.openmem.net/cn/apikeys/](https://memos-dashboard.openmem.net/cn/apikeys/) and copy the key.
371+
Log into the [console](https://memos-dashboard.openmem.net/cn/apikeys/) and copy the key.
372372

373373
![image.png](https://cdn.memtensor.com.cn/img/1768481468406_q51iqx_compressed.png)
374374

envConfig/config.intl.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ export default {
77
playgroundUrl: 'https://memos-playground.memtensor.net',
88
staticCdnUrl: 'https://cdn.memt.ai/static',
99
cdnUrl: 'https://cdn.memt.ai',
10-
docsUrl: 'https://docs-pre.openmem.net',
10+
docsUrl: 'https://memos-docs.openmem.net',
1111
docsIntl: 'https://memos-docs.memtensor.net',
1212
baseUrl: 'https://api.memt.ai'
1313
}

0 commit comments

Comments
 (0)