Skip to content

Commit 420e0a8

Browse files
jonphippsclaude
andcommitted
fix: correct portal links to use environment-specific URLs
The portal homepage was generating incorrect links to standards sites because customFields.docsEnv was missing, causing the HomepageFeatures component to default to production URLs. - Add docsEnv to portal's customFields in docusaurus.config.ts - Portal now correctly generates localhost URLs for local development - Standards links now point to correct environment-specific URLs This resolves the issue where portal links pointed to production URLs regardless of the current environment. 🤖 Generated with [Claude Code](https://claude.ai/code) Co-Authored-By: Claude <[email protected]>
1 parent f1460d1 commit 420e0a8

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

portal/docusaurus.config.ts

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -64,6 +64,8 @@ const config: Config = deepmerge(
6464
customFields: {
6565
// Current environment for client-side components
6666
environment,
67+
// Environment for site URL generation
68+
docsEnv: currentEnv,
6769
// Portal-specific vocabulary configuration (minimal since portal doesn't have RDF content)
6870
vocabularyDefaults: {
6971
prefix: "ifla",

0 commit comments

Comments
 (0)