Skip to content

Commit e9f7c9b

Browse files
committed
fix: correct portal baseUrl configuration for GitHub Pages deployment
- Update portal preview baseUrl from '/standards-dev/portal/' to '/standards-dev/' - Portal should be deployed at root of GitHub Pages site, not in subdirectory - This resolves the Docusaurus baseUrl configuration error on GitHub Pages - Portal now correctly loads with proper navigation and asset URLs - Standards sites remain in their respective subdirectories as intended
1 parent 6ab65f9 commit e9f7c9b

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

packages/theme/src/config/siteConfigCore.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -17,8 +17,8 @@ export interface SiteConfig {
1717
export const sites: Record<SiteKey, Record<DocsEnv, SiteConfig>> = {
1818
portal: {
1919
[DocsEnv.Localhost]: { url: 'http://localhost:3000', baseUrl: '/portal/', port: 3000 },
20-
[DocsEnv.Preview]: { url: 'https://iflastandards.github.io', baseUrl: '/standards-dev/portal/', port: 3000 },
21-
[DocsEnv.Production]: { url: 'https://iflastandards.info', baseUrl: '/portal/', port: 3000 },
20+
[DocsEnv.Preview]: { url: 'https://iflastandards.github.io', baseUrl: '/standards-dev/', port: 3000 },
21+
[DocsEnv.Production]: { url: 'https://iflastandards.info', baseUrl: '/', port: 3000 },
2222
},
2323
ISBDM: {
2424
[DocsEnv.Localhost]: { url: 'http://localhost:3001', baseUrl: '/ISBDM/', port: 3001 },

0 commit comments

Comments
 (0)