Skip to content
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions packages/doom/src/global/VersionsNav/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -26,14 +26,14 @@ const getNavMenu = () => {
return document.querySelector('.rspress-nav-menu')
}

const LEGACY_VERSIONS = ['v3.18.1', 'v3.18.0', 'v3.16', 'v3.14']
const LEGACY_VERSIONS = ['3.18.1', '3.18.0', '3.16', '3.14']

const LEGACY_NAV_ITEMS = LEGACY_VERSIONS.map((v) => ({
text: v,
link: `https://docs.alauda.io/document/release-notes?version=${v}`,
link: `https://cloud.alauda.cn/v3/document/navigation?version=v${v}&language=true`,
}))

const ALLOWED_LEGACY_DOMAINS = new Set(['docs.alauda.cn', 'docs.alauda.io'])
const ALLOWED_LEGACY_DOMAINS = new Set(['docs.alauda.cn'])

if (!isProduction()) {
ALLOWED_LEGACY_DOMAINS.add('localhost')
Expand Down
Loading